From f9ff7d92eefea479527985dd2d5eccc54b86d2dd Mon Sep 17 00:00:00 2001 From: Romain Broucquart <romain.broucquart@synchrotron-soleil.fr> Date: Tue, 30 Jun 2020 10:36:35 +0200 Subject: [PATCH] [SOLEILTOOLS] Changement apparence plot MeanStdMaxMin * L'aire du std est plus transparente * les courbes max min moins transparente --- SoleilTools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SoleilTools.py b/SoleilTools.py index 62e79f3..bd1f7e1 100644 --- a/SoleilTools.py +++ b/SoleilTools.py @@ -263,9 +263,9 @@ def plot_meanstdmaxmin(ax, datax, datay, N, c=lines[0].get_color() # Add max, min and std area - lines.append(ax.plot(xmean, ymax, linestyle='-', color=mcol.to_rgba(c, 0.4))[0]) - lines.append(ax.plot(xmean, ymin, linestyle='-', color=mcol.to_rgba(c, 0.4))[0]) - lines.append(ax.fill_between(xmean, ymean-ystd, ymean+ystd, color=mcol.to_rgba(c, 0.4))) + lines.append(ax.plot(xmean, ymax, linestyle='-', color=mcol.to_rgba(c, 0.5))[0]) + lines.append(ax.plot(xmean, ymin, linestyle='-', color=mcol.to_rgba(c, 0.5))[0]) + lines.append(ax.fill_between(xmean, ymean-ystd, ymean+ystd, color=mcol.to_rgba(c, 0.1))) return lines -- GitLab