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

Skip to content

Commit c00006b

Browse files
committed
Add a behaviour change note
1 parent 526cb71 commit c00006b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
TwoSlopeNorm now auto-expands to always have two slopes
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
In the case where either ``vmin`` or ``vmax`` are not manually specified
4+
to `~.TwoSlopeNorm`, and where the data it is scaling is all less than or
5+
greater than the center point, the limits are now auto-expanded so there
6+
are two symmetrically sized slopes either side of the center point.
7+
8+
Previously ``vmin`` and ``vmax`` were clipped at the center point, which
9+
caused issues when displaying color bars.
10+
11+
This does not affect behaviour when ``vmin`` and ``vmax`` are manually
12+
specified by the user.

0 commit comments

Comments
 (0)