Skip to content

Commit b232cf0

Browse files
author
Jeff Whitaker
committed
fix typo in comment
svn path=/trunk/matplotlib/; revision=7581
1 parent 63bbfc0 commit b232cf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pylab_examples/shading_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
# example showing how to make shaded relief plots
66
# like mathematica
7-
# (http://reference.wolfram.com/mathematica/ref/ReliefPlot.html )
7+
# (http://reference.wolfram.com/mathematica/ref/ReliefPlot.html)
88
# or Generic Mapping Tools
99
# (http://gmt.soest.hawaii.edu/gmt/doc/gmt/html/GMT_Docs/node145.html)
1010

1111
# test data
1212
X,Y=np.mgrid[-5:5:0.05,-5:5:0.05]
1313
Z=np.sqrt(X**2+Y**2)+np.sin(X**2+Y**2)
14-
# creat light source object.
14+
# create light source object.
1515
ls = LightSource(azdeg=0,altdeg=65)
1616
# shade data, creating an rgb array.
1717
rgb = ls.shade(Z,plt.cm.copper)

0 commit comments

Comments
 (0)