Skip to content

Commit 0c26356

Browse files
committed
Remove vmin keyword to avoid MPL deprecation warning [closes #123]
1 parent b96821b commit 0c26356

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spectral/graphics/spypylab.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,7 @@ def show_classes(self):
895895
cm = ListedColormap(np.array(self.class_colors) / 255.)
896896
self._update_class_rgb()
897897
kwargs = self.imshow_class_kwargs.copy()
898-
899-
kwargs.update({'cmap': cm, 'vmin': 0, 'norm': NoNorm(),
898+
kwargs.update({'cmap': cm, 'norm':NoNorm(),
900899
'interpolation': self._interpolation})
901900
if self.axes is not None:
902901
# A figure has already been created for the view. Make it current.

0 commit comments

Comments
 (0)