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

Skip to content

Commit 512b4a8

Browse files
committed
TST : added ColorbarBase smoketest
1 parent e9f0839 commit 512b4a8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/matplotlib/tests/test_colorbar.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,12 @@ def test_remove_from_figure_no_gridspec():
245245
"""
246246
_test_remove_from_figure(False)
247247

248+
@cleanup
249+
def test_colorbarbase():
250+
# smoke test from #3805
251+
ax = plt.gca()
252+
ColorbarBase(ax, plt.cm.bone)
253+
248254

249255
if __name__ == '__main__':
250256
import nose

0 commit comments

Comments
 (0)