From 1226f694bbe94047096075af77983e085e69e306 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Mon, 20 Jan 2025 22:11:29 -0600 Subject: [PATCH] Use 'serial' algorithm for generating contours --- openmc_plotter/plotgui.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/openmc_plotter/plotgui.py b/openmc_plotter/plotgui.py index 78a2510..cd850da 100644 --- a/openmc_plotter/plotgui.py +++ b/openmc_plotter/plotgui.py @@ -600,7 +600,8 @@ def updatePixmap(self): alpha=cv.tallyDataAlpha, cmap=cmap, norm=norm, - extent=extents) + extent=extents, + algorithm='serial') else: self.tally_image = self.ax.imshow(image_data, @@ -673,7 +674,8 @@ def annotate_mesh(self, mesh_id): colors='k', linestyles='solid', levels=np.unique(mesh_bins), - extent=data_bounds + extent=data_bounds, + algorithm='serial' ) def plotSourceSites(self): @@ -712,7 +714,8 @@ def add_outlines(self): colors='k', linestyles='solid', levels=levels, - extent=data_bounds) + extent=data_bounds, + algorithm='serial') @staticmethod def parseContoursLine(line):