-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Image options #5469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image options #5469
Conversation
👍 This now needs a re-base due to merging #5342 Only suggestion would be to filter out the |
Is there a generic way to get the reverse of a colormap? The current colormap could be a user-defined one, in which case it needs to be available in the combobox, but then the user may pick to use its reversed form instead, in which case I need to generate that colormap on the fly. |
There was some discussion of adding such a method, but I don't think it went anywhere. In If the checkbox is going to take more than 15min, I would say skip it for this PR. |
I'd say it will :-) (specifically for this part, the rest is not that hard) |
Kindly bumping the issue. (If there's no easy way to reverse a cmap I'll skip that functionality for now.) |
Seems fine, but this needs a rebase on current master. |
396c7e2
to
e45e946
Compare
Done (with no rebase conflict). |
This patch allows the user to interactively set an image's colormap from the axes and lines (and now images) parameters editor (in the Qt backend). Colormaps are listed from those registered with matplotlib.cm. Colorbars seem to be handled properly.
This patch allows the user to interactively set an image's colormap from the "axes and lines (and now images) parameters editor" (in the Qt backend).
Colormaps are listed from those registered with matplotlib.cm. Colorbars seem to be handled properly.
Note: this patch builds onto my previous PR, #5342 (also involving the options editor). If #5342 gets rejected I will split out the specifics of this PR.