Skip to content

Commit

Permalink
TST : added ColorbarBase smoketest
Browse files Browse the repository at this point in the history
  • Loading branch information
tacaswell committed Nov 16, 2014
1 parent e9f0839 commit 661db3f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/matplotlib/tests/test_colorbar.py
Expand Up @@ -246,6 +246,13 @@ def test_remove_from_figure_no_gridspec():
_test_remove_from_figure(False)


@cleanup
def test_colorbarbase():
# smoke test from #3805
ax = plt.gca()
ColorbarBase(ax, plt.cm.bone)


if __name__ == '__main__':
import nose
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)

0 comments on commit 661db3f

Please sign in to comment.