From d2cb8a27565e827135770ea36b56c93f322af17c Mon Sep 17 00:00:00 2001 From: Cameron Davidson-Pilon Date: Sun, 26 Jun 2016 23:47:32 -0400 Subject: [PATCH] adding a new color and editing an existing color in fivethirtyeight.mplstyle --- examples/style_sheets/plot_fivethirtyeight.py | 3 +++ lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/style_sheets/plot_fivethirtyeight.py b/examples/style_sheets/plot_fivethirtyeight.py index 21f91927436..e3798e921d9 100644 --- a/examples/style_sheets/plot_fivethirtyeight.py +++ b/examples/style_sheets/plot_fivethirtyeight.py @@ -13,6 +13,9 @@ plt.plot(x, np.sin(x) + x + np.random.randn(50)) plt.plot(x, np.sin(x) + 0.5 * x + np.random.randn(50)) plt.plot(x, np.sin(x) + 2 * x + np.random.randn(50)) + plt.plot(x, np.sin(x) - 0.5 * x + np.random.randn(50)) + plt.plot(x, np.sin(x) - 2 * x + np.random.randn(50)) + plt.plot(x, np.sin(x) + np.random.randn(50)) plt.show() diff --git a/lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle b/lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle index 5f1f3ef9fa4..738db39f5f8 100644 --- a/lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle +++ b/lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle @@ -6,7 +6,7 @@ lines.solid_capstyle: butt legend.fancybox: true -axes.prop_cycle: cycler('color', ['30a2da', 'fc4f30', 'e5ae38', '6d904f', '8b8b8b']) +axes.prop_cycle: cycler('color', ['008fd5', 'fc4f30', 'e5ae38', '6d904f', '8b8b8b', '810f7c']) axes.facecolor: f0f0f0 axes.labelsize: large axes.axisbelow: true