Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18a1503

Browse files
committed
DOC frontpage images are now updated to the new defaults
1 parent 303938f commit 18a1503

File tree

8 files changed

+4
-4
lines changed

8 files changed

+4
-4
lines changed

doc/_static/contour_frontpage.png

-9.33 KB
Loading

doc/_static/histogram_frontpage.png

1.5 KB
Loading

doc/_static/membrane_frontpage.png

1.64 KB
Loading

doc/_static/surface3d_frontpage.png

-6.38 KB
Loading

examples/frontpage/plot_3D.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
region = np.s_[5:50, 5:50]
2525
x, y, z = x[region], y[region], z[region]
2626

27-
fig, ax = plt.subplots(subplot_kw=dict(projection='3d'), figsize=(2.25, 2))
27+
fig, ax = plt.subplots(subplot_kw=dict(projection='3d'), figsize=(1.62, 1.38))
2828

2929
ls = LightSource(270, 45)
3030
# To use a custom hillshading mode, override the built-in shading and pass

examples/frontpage/plot_contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
levels = np.linspace(-2.0, 1.601, 40)
2727
norm = cm.colors.Normalize(vmax=abs(Z).max(), vmin=-abs(Z).max())
2828

29-
fig, ax = plt.subplots(figsize=(2.25, 2))
29+
fig, ax = plt.subplots(figsize=(1.62, 1.38))
3030
cset1 = ax.contourf(
3131
X, Y, Z, levels,
3232
norm=norm)

examples/frontpage/plot_histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
random_state = np.random.RandomState(19680801)
1414
X = random_state.randn(10000)
1515

16-
fig, ax = plt.subplots(figsize=(2.25, 2))
16+
fig, ax = plt.subplots(figsize=(1.62, 1.38))
1717
ax.hist(X, bins=25, normed=True)
1818
x = np.linspace(-5, 5, 1000)
1919
ax.plot(x, 1 / np.sqrt(2*np.pi) * np.exp(-(x**2)/2), linewidth=4)

examples/frontpage/plot_membrane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
x = np.fromstring(open(datafile, 'rb').read(), np.float32)
1717
# 0.0005 is the sample interval
1818

19-
fig, ax = plt.subplots(figsize=(2.25, 2))
19+
fig, ax = plt.subplots(figsize=(1.62, 1.38))
2020
ax.plot(x, linewidth=4)
2121
ax.set_xlim(5000, 6000)
2222
ax.set_ylim(-0.6, 0.1)

0 commit comments

Comments
 (0)