We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585cf56 commit d953067Copy full SHA for d953067
1 file changed
lib/matplotlib/tests/test_colors.py
@@ -666,15 +666,15 @@ def test_TwoSlopeNorm_scaleout_center():
666
# test the vmin never goes above vcenter
667
norm = mcolors.TwoSlopeNorm(vcenter=0)
668
norm([1, 2, 3, 5])
669
- assert norm.vmin == 0
+ assert norm.vmin == -5
670
assert norm.vmax == 5
671
672
673
def test_TwoSlopeNorm_scaleout_center_max():
674
# test the vmax never goes below vcenter
675
676
norm([-1, -2, -3, -5])
677
- assert norm.vmax == 0
+ assert norm.vmax == 5
678
assert norm.vmin == -5
679
680
0 commit comments