From db210ed5ed32cb9269abc518ffc1e0cb107c06da Mon Sep 17 00:00:00 2001 From: Nate <34454754+nate-sime@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:38:05 -0700 Subject: [PATCH] quick fix (#9) Co-authored-by: nate-sime <> --- febug/plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/febug/plot.py b/febug/plot.py index 8f3c01d..3cd4fd3 100644 --- a/febug/plot.py +++ b/febug/plot.py @@ -187,9 +187,9 @@ def plot_meshtags_values(meshtags: dolfinx.mesh.MeshTags, labels = meshtags.values entities_local = entities[entities < size_local] - labels_local = labels[labels < size_local] + labels_local = labels[entities < size_local] entities_ghost = entities[entities >= size_local] - labels_ghost = labels[labels >= size_local] + labels_ghost = labels[entities >= size_local] def plot_midpoint_label(entities, labels, color): x = dolfinx.mesh.compute_midpoints(mesh, tdim, entities)