From 448b4765cc771e1cc8076a5c8ea61322ae19770a Mon Sep 17 00:00:00 2001 From: andy6a <128522580+andy6a@users.noreply.github.com> Date: Tue, 7 May 2024 14:45:15 -0700 Subject: [PATCH] Update _plot.py --- sourcetracker/_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcetracker/_plot.py b/sourcetracker/_plot.py index 9dcfc97..be4c081 100644 --- a/sourcetracker/_plot.py +++ b/sourcetracker/_plot.py @@ -241,7 +241,7 @@ def ST_Stacked_bar(self, keep_unknowns=True, x_lab="Sink", prop = prop.reset_index() if len(coloring) != (prop.shape[1]-1): coloring = [] - if coloring = []: + if coloring == []: coloring = None prop.plot(kind='bar', x=prop.columns[0], stacked=True, figsize=((prop.shape[1] * 3 / 4)+4,