Skip to content

Commit a55bd54

Browse files
committed
fix bug in PlotXYZvect; bad matplotlib bug for display of color bar
1 parent 20b342d commit a55bd54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GSASII/GSASIIplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@ def OnMotion(event):
27332733
Plot.set_title(Title)
27342734
try:
27352735
Page.figure.colorbar(mcolors,shrink=0.75,label='Rotation',boundaries=range(91))
2736-
except TypeError:
2736+
except:
27372737
print('mpl error - no colorbar shown')
27382738
Page.canvas.draw()
27392739

0 commit comments

Comments
 (0)