Skip to content

Commit

Permalink
Merge pull request #178 from I2PC/azazellochg-patch-1
Browse files Browse the repository at this point in the history
plt.show() doesn't accept args
  • Loading branch information
Vilax authored May 13, 2024
2 parents 3bb5c34 + fb6039a commit a0e4f7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xmipptomo/viewers/viewer_resolution_local_monotomo.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _showVolumeColorSlices(self, mapFile):
plot = self._createSlicePlot(imgData, sliceNumber, xplotter)
xplotter.getColorBar(plot)

return [plt.show(xplotter)]
return [plt.show()]

def _showOneColorslice(self, param=None):
imageFile = self.createPath(TOMOGRAM_RESOLUTION_FILE, MRCEXT)
Expand All @@ -161,7 +161,7 @@ def _showOneColorslice(self, param=None):
plot = self._createSlicePlot(imgData, sliceNumber, xplotter)
xplotter.getColorBar(plot)

return [plt.show(xplotter)]
return [plt.show()]

def _createSlicePlot(self, imgData, sliceNumber, xplotter):
a = xplotter.createSubPlot("Slice %s" % (sliceNumber + 1), '', '')
Expand Down

0 comments on commit a0e4f7b

Please sign in to comment.