From ae81406f0fe4c8f3f59ba3bf7c4e3f70dcca1533 Mon Sep 17 00:00:00 2001 From: mcflugen Date: Wed, 18 Dec 2024 16:03:20 -0700 Subject: [PATCH] fix SIM909 in plot module --- deltametrics/plot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/deltametrics/plot.py b/deltametrics/plot.py index 96ddfc6d..73dcddaa 100644 --- a/deltametrics/plot.py +++ b/deltametrics/plot.py @@ -1623,8 +1623,6 @@ def overlay_sparse_array( if isinstance(cmap, str): # cmap = plt.cm.get_cmap(cmap) cmap = mpl.colormaps[cmap] - else: - cmap = cmap # get the extent to plot if "extent" in kwargs: