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 ce6298e

Browse filesBrowse files
committed
DOC: Add stackplot to plot types listing and added blues to grid style guide using Blues cmap
1 parent 9036c31 commit ce6298e
Copy full SHA for ce6298e

File tree

Expand file treeCollapse file tree

3 files changed

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

3 files changed

+3
-4
lines changed

‎lib/matplotlib/mpl-data/stylelib/_mpl-gallery-nogrid.mplstyle

Copy file name to clipboardExpand all lines: lib/matplotlib/mpl-data/stylelib/_mpl-gallery-nogrid.mplstyle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ ytick.major.size: 0.0
1616

1717
# colors:
1818
image.cmap : Blues
19-
# axes.prop_cycle: cycler('color', ['FF7F0E', '1F77B4', '2CA02C'])
19+
axes.prop_cycle: cycler('color', ['c6dbef', '6aaed6', '2070b4', '08306b'])

‎lib/matplotlib/mpl-data/stylelib/_mpl-gallery.mplstyle

Copy file name to clipboardExpand all lines: lib/matplotlib/mpl-data/stylelib/_mpl-gallery.mplstyle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ ytick.major.size: 0.0
1616

1717
# colors:
1818
image.cmap : Blues
19-
# axes.prop_cycle: cycler('color', ['FF7F0E', '1F77B4', '2CA02C'])
19+
axes.prop_cycle: cycler('color', ['c6dbef', '6aaed6', '2070b4', '08306b'])

‎plot_types/basic/stackplot.py

Copy file name to clipboardExpand all lines: plot_types/basic/stackplot.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
plt.style.use('_mpl-gallery')
1111

1212
# make data
13-
np.random.seed(1)
1413
x = np.arange(0, 10, 2)
15-
ay = [1, 1.25, 2 ,2.75, 3]
14+
ay = [1, 1.25, 2, 2.75, 3]
1615
by = [1, 1, 1, 1, 1]
1716
cy = [2, 1, 2, 1, 2]
1817
y = np.vstack([ay, by, cy])

0 commit comments

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