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

Skip to content

Commit 661db3f

Browse files
committed
TST : added ColorbarBase smoketest
1 parent e9f0839 commit 661db3f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/matplotlib/tests/test_colorbar.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,13 @@ def test_remove_from_figure_no_gridspec():
246246
_test_remove_from_figure(False)
247247

248248

249+
@cleanup
250+
def test_colorbarbase():
251+
# smoke test from #3805
252+
ax = plt.gca()
253+
ColorbarBase(ax, plt.cm.bone)
254+
255+
249256
if __name__ == '__main__':
250257
import nose
251258
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)

0 commit comments

Comments
 (0)