Skip to content

Commit

Permalink
Test map creation with counties on
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Sep 5, 2024
1 parent 062f43a commit 4c440d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from packaging.version import Version

import monet # noqa: F401
from monet.plots.mapgen import draw_map

cartopy_version = Version(cartopy.__version__)

Expand Down Expand Up @@ -34,7 +35,12 @@ def test_quick_with_cartopy_ax(which):
getattr(da.monet, f"quick_{which}")(ax=ax, transform=tran)


def test_draw_map_counties():
_ = draw_map(counties=True, extent=[-110.5, -101, 36, 42])


if __name__ == "__main__":
test_quick("map")
test_draw_map_counties()

plt.show()

0 comments on commit 4c440d7

Please sign in to comment.