From d192fb9e1086f31ef5682f529061ab2d212ff0f6 Mon Sep 17 00:00:00 2001 From: lordoofring <154296606+lordoofring@users.noreply.github.com> Date: Tue, 16 Sep 2025 09:50:16 -0600 Subject: [PATCH] Update Stats.py depreciated use of Box plot fixed --- cell2fire/utils/Stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell2fire/utils/Stats.py b/cell2fire/utils/Stats.py index f0998999..12e25303 100644 --- a/cell2fire/utils/Stats.py +++ b/cell2fire/utils/Stats.py @@ -165,7 +165,7 @@ def BoxPlot(self, Data, xx="Hour", yy="Burned", xlab="Hours", ylab="# Burned Cel plt.title(title) #sns.set(style="darkgrid", font_scale=1.5) - ax = sns.boxplot(x=xx, y=yy, hue=xx, data=Data, linewidth=2.5, palette=pal, legend=False).set(xlabel=xlab, ylabel=ylab) + ax = sns.boxplot(x=xx, y=yy, hue=xx, data=Data, linewidth=2.5, palette=pal).set(xlabel=xlab, ylabel=ylab) if swarm: ax = sns.swarmplot(x=xx, y=yy, data=Data, linewidth=2.5, palette=pal).set(xlabel=xlab,ylabel=ylab)