add interactive colorbar example to gallery#20471
Merged
jklymak merged 5 commits intomatplotlib:masterfrom Jul 21, 2021
Merged
Conversation
timhoffm
reviewed
Jun 20, 2021
Member
|
BTW thanks for taking the time to put this example together! |
Contributor
Author
|
I feel #20479 blocks this PR so marking as draft until resolved. |
Contributor
Author
|
Also something about the new |
46efae8 to
19b9523
Compare
Contributor
Author
|
Unblocked by #20501, thanks for everyone's help there! (Somehow I didn't get any notifications about that PR?) |
Member
|
flake8:
|
Member
|
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? |
jklymak
approved these changes
Jul 21, 2021
Member
|
Thanks! |
7 tasks
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
pytestpasses).flake8on changed files to check).flake8-docstringsand 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).