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

Skip to content

Commit 8dcb3ea

Browse files
committed
Fix flake8, reorder words.
1 parent 90dc80e commit 8dcb3ea

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/users/next_whats_new/colormap_get_under_over_bad.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Get over/under/bad colors of Colormap objects
1+
Get under/over/bad colors of Colormap objects
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

44
The `matplotlib.colors.Colormap` object now has methods

lib/matplotlib/tests/test_colors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,6 +1169,7 @@ def test_repr_html():
11691169
assert len(html) > 0
11701170
assert cmap.name in html
11711171

1172+
11721173
def test_get_under_over_bad():
11731174
cmap = plt.get_cmap('viridis')
11741175
assert_array_equal(cmap.get_under(), cmap(0.0))

0 commit comments

Comments
 (0)