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

Skip to content

Commit 9932fd9

Browse files
committed
updated default dir names for svn checkouts
svn path=/trunk/matplotlib/; revision=5265
1 parent 4719481 commit 9932fd9

3 files changed

Lines changed: 12 additions & 326 deletions

File tree

CODING_GUIDE

Lines changed: 0 additions & 320 deletions
This file was deleted.

docs/devel/coding_guide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Checking out everything in the trunk (matplotlib and toolkits)::
1313
Checking out the main source::
1414

1515
svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/\
16-
matplotlib matplotlib --username=youruser --password=yourpass
16+
matplotlib mpl --username=youruser --password=yourpass
1717

1818
Branch checkouts, eg the maintenance branch::
1919

2020
svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/\
21-
v0_91_maint mplv0_91_maint
21+
v0_91_maint mpl91
2222

2323
Committing changes
2424
==================

examples/api/logo2.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@
1414
ax = fig.add_axes([0.05, 0.05, 0.2, 01], polar=True)
1515
ax.axesPatch.set_alpha(axalpha)
1616
N = 20
17-
theta = np.arange(0.0, 2*np.pi, 2*np.pi/N)
17+
theta = np.arange(0.0, 2*np.pi, 2*np.pi/N) + np.pi
1818
radii = 10*np.random.rand(N)
19-
width = np.pi/4*np.random.rand(N)
19+
width = np.pi/6*np.random.rand(N)
20+
#radii = np.log(np.arange(1,N+1))
21+
#width = np.arange(N, dtype=float)/N*np.pi/8
22+
2023
bars = ax.bar(theta, radii, width=width, bottom=0.0)
2124
for r,bar in zip(radii, bars):
2225
bar.set_facecolor( cm.jet(r/10.))
@@ -33,7 +36,8 @@
3336
x = mu + sigma*np.random.randn(10000)
3437

3538
# the histogram of the data
36-
n, bins, patches = axhist.hist(x, 50, normed=1, facecolor='green', edgecolor='green', alpha=0.75)
39+
n, bins, patches = axhist.hist(x, 50, normed=1,
40+
facecolor='green', edgecolor='green', alpha=0.75)
3741

3842

3943
y = mlab.normpdf( bins, mu, sigma)
@@ -51,8 +55,10 @@
5155

5256
#the math background
5357
tex = r"$W^{3\beta}_{\delta_1 \rho_1 \sigma_2} = U^{3\beta}_{\delta_1 \rho_1} + \frac{1}{8 \pi 2} \int^{\alpha_2}_{\alpha_2} d \alpha^\prime_2 \left[\frac{ U^{2\beta}_{\delta_1 \rho_1} - \alpha^\prime_2U^{1\beta}_{\rho_1 \sigma_2} }{U^{0\beta}_{\rho_1 \sigma_2}}\right]$"
58+
radargreen = '#d5de9c'
59+
orange = '#ee8d18'
5460
axback.text(0.5, 0.5, tex,
55-
transform=axback.transAxes, color="0.5", alpha=0.5, fontsize=40,
61+
transform=axback.transAxes, color='black', alpha=0.25, fontsize=40,
5662
ha='center', va='center')
5763
axback.set_axis_off()
5864

0 commit comments

Comments
 (0)