From d008ebf84646fd90a95a4ef7d70a0dcd416ae4a5 Mon Sep 17 00:00:00 2001 From: andy6a <128522580+andy6a@users.noreply.github.com> Date: Tue, 7 May 2024 14:47:14 -0700 Subject: [PATCH] Update _plot.py --- sourcetracker/_plot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sourcetracker/_plot.py b/sourcetracker/_plot.py index be4c081..5277441 100644 --- a/sourcetracker/_plot.py +++ b/sourcetracker/_plot.py @@ -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)