better message in case that GUI is not possible

This commit is contained in:
Martin Diehl 2020-12-10 23:44:54 +01:00
parent a881e6e57a
commit 2e28bc127a
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Colormap(mpl.colors.ListedColormap):
ax1.imshow(np.linspace(0,1,self.N).reshape(1,-1), ax1.imshow(np.linspace(0,1,self.N).reshape(1,-1),
aspect='auto', cmap=self, interpolation='nearest') aspect='auto', cmap=self, interpolation='nearest')
plt.show(block = False) plt.show(block = False)
return self.name return 'Colormap: '+self.name
@staticmethod @staticmethod