Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff01e19

Browse files
jpmatternQuLogic
andauthored
Update tutorials/colors/colormapnorms.py
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent eb284e4 commit ff01e19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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 its 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)