-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
add interactive colorbar example to gallery #20471
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
add interactive colorbar example to gallery #20471
Conversation
BTW thanks for taking the time to put this example together! |
I feel #20479 blocks this PR so marking as draft until resolved. |
Also something about the new |
46efae8
to
19b9523
Compare
Unblocked by #20501, thanks for everyone's help there! (Somehow I didn't get any notifications about that PR?) |
flake8:
|
Maybe I'm doing something wrong, but this only works for one click for me and then the colorbar stops responding. Is that expected, or am I doing something wrong? |
Thanks! |
PR Summary
Added an example to the gallery for discussion regarding #19515. All that needs to happen in each event is to modify the colorbar norm vmin and vmax, although the particular interactivity that was desired in #19515 would require a little more creativity in the callbacks.
Hoping for feedback as to:
PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).