8000 Update tutorials/colors/colormapnorms.py · matplotlib/matplotlib@ff01e19 · GitHub
[go: up one dir, main page]

Skip to content

Commit ff01e19

Browse files
jpmatternQuLogic
andauthored
Update tutorials/colors/colormapnorms.py
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent eb284e4 commit ff01e19

File t 8000 ree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/colors/colormapnorms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
# In many cases, data is symmetrical around a center, for example, positive and
7878
# negative anomalies around a center 0. In this case, we would like the center
7979
# to be mapped to 0.5 and the datapoint with the largest deviation from the
80-
# center to be mapped to 1.0, if its value is greater than the center, or -1.0
80+
# center to be mapped to 1.0, if it 4747 s value is greater than the center, or 0.0
8181
# otherwise. The norm `.colors.CenteredNorm` creates such a mapping
8282
# automatically. It is well suited to be combined with a divergent colormap
8383
# which uses different colors edges that meet in the center at an unsaturated

0 commit comments

Comments
 (0)
0