Repository navigation
DOC: Remove duplicated colormap normalization gallery example - #32540
Conversation
| # colormapping | ||
| colormap_interactive_adjustment | ||
| colormap_normalizations | ||
| colormap_normalizations_symlognorm |
There was a problem hiding this comment.
I only removed colormap_normalizations and didn't move it anywhere, because Tim said to remove the duplicates, so I also removed its entry from gallery_order.txt. The tutorial is already included automatically in users_explain/colors/gallery_order.txt because of the *. Would you like me to list the tutorial there explicitly at a particular position, or was your question about something else?
There was a problem hiding this comment.
Let’s not fold the symmlognorm into this PR. The example is actually better than user guide section. Just deleting the example would loose content.
One could consider moving the example content into the user guide and then deleting the example. Optionally, creating a simple nonlinear colomapping example so that norms still appear in the examples,
There was a problem hiding this comment.
Tim and jklymak, thank you for reviewing and merging the PR. I learned a lot from it. I found the idea of moving the symlognorm example into the tutorial and creating a small nonlinear colormapping example very interesting.
I would like to try this. Would that be okay for a newcomer, or should I start with something smaller?
PR summary
Tim pointed out in issue #14892 that the gallery example
colormap_normalizationsand the tutorialcolormapnormscontain the same content, so I removed the gallery example. I also removed its entry fromgallery_order.txt. So that old links don't break, I added 2redirect-fromdirectives to the tutorial. I also cleaned up the tutorial wording:.TwoSlopeNormis built-in, and the class below does the same thing by hand.Closes #14892
AI Disclosure
I got help from an AI assistant (Claude) to translate my comments and PR text into English and to understand commands. I read the code myself, looked at the
git diffmyself, and talked to Tim in the issue myself.It also helped me find this issue, suggested the steps (removing the example, adding the redirects) and gave me the commands to make the edits.
PR quality check