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

Skip to content

Commit bd4102c

Browse files
committed
TST: fix the test to catch the mis-ticking error
1 parent 5d55b0b commit bd4102c

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

lib/matplotlib/tests/test_colorbar.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@ def test_inset_colorbar_layout():
778778
def test_twoslope_colorbar():
779779
# Note that the first tick = 20, and should be in the middle
780780
# of the colorbar (white)
781+
# There should be no tick at the bottom, nor at the top.
781782
fig, ax = plt.subplots()
782783

783784
norm = mcolors.TwoSlopeNorm(20, 5, 95)

0 commit comments

Comments
 (0)