[draw] add missing code for finalize

This commit is contained in:
Jan Petykiewicz 2025-09-22 19:25:39 -07:00
parent 68520b8710
commit 7cac73bcb4

View File

@ -212,6 +212,9 @@ class GridReadMixin(GridPosMixin):
mappable = ax.contour(xcmesh, ycmesh, grid_slice, levels=levels, **contour_args) mappable = ax.contour(xcmesh, ycmesh, grid_slice, levels=levels, **contour_args)
if finalize:
pyplot.show()
return fig, ax return fig, ax