Skip to content

Commit 1d97440

Browse files
committed
Remove unnecessary set_under/set_over
1 parent 27dab7c commit 1d97440

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/matplotlib/tests/test_colorbar.py

-2
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,6 @@ def test_colorbar_closed_patch():
267267
ax5 = fig.add_axes([0.05, 0.05, 0.9, 0.1])
268268

269269
cmap = get_cmap("RdBu", lut=5)
270-
cmap.set_under('w')
271-
cmap.set_over('w')
272270

273271
im = ax1.pcolormesh(np.linspace(0, 10, 16).reshape((4, 4)), cmap=cmap)
274272
values = np.linspace(0, 10, 5)

0 commit comments

Comments
 (0)