Skip to content

Commit

Permalink
Update _plot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
andy6a authored May 7, 2024
1 parent 30de33b commit 448b476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sourcetracker/_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 448b476

Please sign in to comment.