From 97f765c49edc062327da526d1e2451dbb8bfe6f1 Mon Sep 17 00:00:00 2001 From: Mostafa Farrag Date: Mon, 26 Aug 2024 21:55:34 +0200 Subject: [PATCH] rename the mean properties in the box plot --- statista/time_series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/statista/time_series.py b/statista/time_series.py index 996f0ea..9f32c34 100644 --- a/statista/time_series.py +++ b/statista/time_series.py @@ -7,7 +7,7 @@ from matplotlib.axes import Axes -MEAN_PROP = dict(marker="x", markeredgecolor="w", markerfacecolor="firebrick") +BOX_MEAN_PROP = dict(marker="x", markeredgecolor="w", markerfacecolor="firebrick") VIOLIN_PROP = dict(face="#27408B", edge="#DC143C", alpha=0.7) @@ -241,7 +241,7 @@ def box_plot( notch=notch, patch_artist=True, showmeans=mean, - meanprops=MEAN_PROP, + meanprops=BOX_MEAN_PROP, boxprops=dict( facecolor=( "#27408B" if color is None else color.get("boxes", "#27408B")