Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update _plot.py
Browse files Browse the repository at this point in the history
andy6a authored May 7, 2024
1 parent 448b476 commit d008ebf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sourcetracker/_plot.py
Original file line number Diff line number Diff line change
@@ -244,9 +244,9 @@ def ST_Stacked_bar(self, keep_unknowns=True, x_lab="Sink",
if coloring == []:
coloring = None
prop.plot(kind='bar', x=prop.columns[0], stacked=True,
figsize=((prop.shape[1] * 3 / 4)+4,
(prop.shape[0] * 3 / 4)+4),
color=coloring)
figsize=((prop.shape[1] * 3 / 4)+4,
(prop.shape[0] * 3 / 4)+4),
color=coloring)
plt.xlabel(x_lab)
plt.ylabel(y_lab)
plt.title(self.title)

0 comments on commit d008ebf

Please sign in to comment.