10000 Blues · matplotlib/matplotlib@f3a5b27 · GitHub
[go: up one dir, main page]

Skip to content

Commit f3a5b27

Browse files
committed
Blues
1 parent 7b79ba4 commit f3a5b27

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

lib/matplotlib/mpl-data/stylelib/cheatsheet_gallery.mplstyle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ figure.subplot.bottom: 0.01
1212
figure.subplot.top: 0.99
1313

1414
# colors:
15-
image.cmap : Oranges
16-
axes.prop_cycle: cycler('color', ['FF7F0E', '1F77B4', '2CA02C'])
15+
image.cmap : Blues
16+
# axes.prop_cycle: cycler('color', ['FF7F0E', '1F77B4', '2CA02C'])

plot_types/B_arrays/a_imshow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
fig, ax = plt.subplots()
1919

2020
ax.imshow(Z, extent=[0, 8, 0, 8], interpolation="nearest",
21-
cmap=plt.get_cmap('Oranges'), vmin=0, vmax=1.6)
21+
cmap=plt.get_cmap('Blues'), vmin=0, vmax=1.6)
2222

2323
ax.set_xticks([])
2424
ax.set_yticks([])

plot_types/C_stats/e_barbs.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
with plt.style.context('cheatsheet_gallery'):
1818
fig, ax = plt.subplots()
1919

20-
ax.barbs(X, Y, U, V, barbcolor="C1", flagcolor="C1",
20+
ax.barbs(X, Y, U, V, barbcolor="C0", flagcolor="C0",
2121
length=10, linewidth=1.5)
2222

23-
ax.set_xlim(0, 8)
24-
ax.set_xticks(np.arange(1, 8))
25-
ax.set_ylim(0, 8)
26-
ax.set_yticks(np.arange(1, 8))
23+
ax.set_xlim(0, 8)
24+
ax.set_xticks(np.arange(1, 8))
25+
ax.set_ylim(0, 8)
26+
ax.set_yticks(np.arange(1, 8))
2727

28-
plt.show()
28+
plt.show()

0 commit comments

Comments
 (0)
0