Skip to content

Commit 5e9709f

Browse files
committed
Adding test for attribution
1 parent 3af122f commit 5e9709f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_ctx.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,7 @@ def test_add_basemap():
193193
assert_array_almost_equal(ax.images[0].get_array().mean(),
194194
184.10237852536648)
195195

196+
def test_attribution():
197+
f, ax = matplotlib.pyplot.subplots(1)
198+
ax = ctx.add_attribution(ax, 'Test')
199+

0 commit comments

Comments
 (0)