From 4c440d748c5b4e792f3da7ee43bf32a00817512f Mon Sep 17 00:00:00 2001 From: zmoon Date: Thu, 5 Sep 2024 13:08:49 -0500 Subject: [PATCH] Test map creation with counties on --- tests/test_plot.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_plot.py b/tests/test_plot.py index c6804784..ae1ca7f2 100644 --- a/tests/test_plot.py +++ b/tests/test_plot.py @@ -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__) @@ -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()