Skip to content

Commit

Permalink
use theme colors and change styling
Browse files Browse the repository at this point in the history
  • Loading branch information
arshm06 committed Jul 29, 2023
1 parent 24c260a commit 6461dd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arviz/plots/backends/matplotlib/lmplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,22 @@ def plot_lm(
y_hat_plot_kwargs.setdefault("linewidth", 0)

y_hat_fill_kwargs = matplotlib_kwarg_dealiaser(y_hat_fill_kwargs, "fill_between")
y_hat_fill_kwargs.setdefault("color", "C1")
y_hat_fill_kwargs.setdefault("color", "C3")

y_model_plot_kwargs = matplotlib_kwarg_dealiaser(y_model_plot_kwargs, "plot")
y_model_plot_kwargs.setdefault("color", "k")
y_model_plot_kwargs.setdefault("color", "C6")
y_model_plot_kwargs.setdefault("alpha", 0.5)
y_model_plot_kwargs.setdefault("linewidth", 0.5)
y_model_plot_kwargs.setdefault("zorder", 9)

y_model_fill_kwargs = matplotlib_kwarg_dealiaser(y_model_fill_kwargs, "fill_between")
y_model_fill_kwargs.setdefault("color", "k")
y_model_fill_kwargs.setdefault("color", "C0")
y_model_fill_kwargs.setdefault("linewidth", 0.5)
y_model_fill_kwargs.setdefault("zorder", 9)
y_model_fill_kwargs.setdefault("alpha", 0.5)

y_model_mean_kwargs = matplotlib_kwarg_dealiaser(y_model_mean_kwargs, "plot")
y_model_mean_kwargs.setdefault("color", "y")
y_model_mean_kwargs.setdefault("color", "C6")
y_model_mean_kwargs.setdefault("linewidth", 0.8)
y_model_mean_kwargs.setdefault("zorder", 11)

Expand Down

0 comments on commit 6461dd1

Please sign in to comment.