Skip to content

Commit d0a90b4

Browse files
Jammy2211Jammy2211
authored andcommitted
fix visualization bug
1 parent 799be12 commit d0a90b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autoarray/plot/mat_plot/two_d.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,10 @@ def _plot_delaunay_mapper(
725725
)
726726

727727
else:
728+
729+
if hasattr(pixel_values, "array"):
730+
pixel_values = pixel_values.array
731+
728732
self.delaunay_drawer.draw_delaunay_pixels(
729733
mapper=mapper,
730734
pixel_values=pixel_values,

0 commit comments

Comments
 (0)