Skip to content

[ENH]: Hide pcolormesh underlying colorbar from qt figure options for colorbar axes #27077

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

Open
anntzer opened this issue Oct 12, 2023 · 0 comments

Comments

@anntzer
Copy link
Contributor

anntzer commented Oct 12, 2023

Problem

In #23080 a user tried to select a colorbar axes in the qt figure options and set a colormap on the pcolormesh that is used to draw the colorbar, hoping that the modification is propagated to the main axes. This doesn't work, and I'm not sure it should anyways (just like if you call set_cmap on that pcolormesh programatically?), but perhaps we can give a special label() (or other internal marker) to the pcolormesh that marks it as hidden from the qt figure options, as I don't think(?) it makes sense to change any of its properties via that interface?

Proposed solution

No response

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

No branches or pull requests

1 participant