From 57bd819e0f1b064868c1021eb0b8a4bcdbe4f4d5 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Wed, 12 Jul 2023 10:04:01 -0500
Subject: [PATCH] snapshot...

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

diff --git a/modules/util/plot.py b/modules/util/plot.py
index b25b7f41..4d884709 100644
--- a/modules/util/plot.py
+++ b/modules/util/plot.py
@@ -298,6 +298,8 @@ def scatter_density(x, y, color=None, fname=None, fig=None):
     ax = fig.add_subplot(1, 1, 1, projection='scatter_density')
     if color is not None:
         ax.scatter_density(x, y, color=color)
+    else:
+        ax.scatter_density(x, y)
 
     if fname is not None:
         fig.savefig(fname)
-- 
GitLab