Skip to content

Fix for Slicer - clim/vmin/vmax - again#228

Closed
prisae wants to merge 1 commit intosimpeg:masterfrom
prisae:fix-slicer-clim
Closed

Fix for Slicer - clim/vmin/vmax - again#228
prisae wants to merge 1 commit intosimpeg:masterfrom
prisae:fix-slicer-clim

Conversation

@prisae
Copy link
Member

@prisae prisae commented Sep 24, 2020

Unfortunately, with #217 I re-introduced the bug reported here #189 (comment) and fixed with #189.

The confusion exists probably because there are current three ways, how to define the limits of the colourbar:

  • clim
  • vmin/vmax in pcolor_opts
  • vmin/vmax in pcolor_opts['norm']

This is not unique to the Slicer, plotSlice etc have the same.

One idea could be to deprecate the clim keyword, in favour of the matplotlib-native way with vmin/max.

@prisae prisae mentioned this pull request Sep 25, 2020
@jcapriot jcapriot closed this Nov 17, 2020
@prisae prisae deleted the fix-slicer-clim branch November 17, 2020 20:18
@prisae
Copy link
Member Author

prisae commented Nov 18, 2020

This was fixed in #227 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants