Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d2cb8a2

Browse filesBrowse files
adding a new color and editing an existing color in fivethirtyeight.mplstyle
1 parent 5de9c44 commit d2cb8a2
Copy full SHA for d2cb8a2

File tree

Expand file treeCollapse file tree

2 files changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-1
lines changed

‎examples/style_sheets/plot_fivethirtyeight.py

Copy file name to clipboardExpand all lines: examples/style_sheets/plot_fivethirtyeight.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
plt.plot(x, np.sin(x) + x + np.random.randn(50))
1414
plt.plot(x, np.sin(x) + 0.5 * x + np.random.randn(50))
1515
plt.plot(x, np.sin(x) + 2 * x + np.random.randn(50))
16+
plt.plot(x, np.sin(x) - 0.5 * x + np.random.randn(50))
17+
plt.plot(x, np.sin(x) - 2 * x + np.random.randn(50))
18+
plt.plot(x, np.sin(x) + np.random.randn(50))
1619

1720

1821
plt.show()

‎lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle

Copy file name to clipboardExpand all lines: lib/matplotlib/mpl-data/stylelib/fivethirtyeight.mplstyle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ lines.solid_capstyle: butt
66

77
legend.fancybox: true
88

9-
axes.prop_cycle: cycler('color', ['30a2da', 'fc4f30', 'e5ae38', '6d904f', '8b8b8b'])
9+
axes.prop_cycle: cycler('color', ['008fd5', 'fc4f30', 'e5ae38', '6d904f', '8b8b8b', '810f7c'])
1010
axes.facecolor: f0f0f0
1111
axes.labelsize: large
1212
axes.axisbelow: true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.