From d990356dd690d48764bebfe5fefaf1740f5ccc7f Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Mon, 4 Oct 2021 13:43:51 -0500
Subject: [PATCH] minor

---
 modules/util/plot.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/util/plot.py b/modules/util/plot.py
index af7ab02f..40d8e18f 100644
--- a/modules/util/plot.py
+++ b/modules/util/plot.py
@@ -236,7 +236,8 @@ def make_icing_image(h5f, ice_lons, ice_lats, clvrx_str_time, satellite, domain,
 
     fig = plt.figure(figsize=(48, 30))
     ax = fig.add_subplot(1, 1, 1, projection=geos)
-    ax.set_extent(extent, crs=ccrs.PlateCarree())
+    if extent is not None:
+        ax.set_extent(extent, crs=ccrs.PlateCarree())
     ax.imshow(image, origin='upper', extent=(xmin, xmax, ymin, ymax), cmap='Greys', transform=geos)
     ax.coastlines(resolution='50m', color='green', linewidth=1.50)
     # ax.add_feature(ccrs.cartopy.feature.STATES, linewidth=0.25)
-- 
GitLab