Skip to content

Commit 4ae7a9f

Browse files
author
Jeff Whitaker
committed
change sun elevation angle.
svn path=/trunk/matplotlib/; revision=6979
1 parent 546a2c0 commit 4ae7a9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/shading_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
X,Y=np.mgrid[-5:5:0.1,-5:5:0.1]
1313
Z=X+np.sin(X**2+Y**2)
1414
# creat light source object.
15-
ls = lightsource(azdeg=270,altdeg=20)
15+
ls = lightsource(azdeg=270,altdeg=60)
1616
# shade data, creating an rgb array.
1717
rgb = ls.shade(Z,plt.cm.copper)
1818
# plot un-shaded and shaded images.

0 commit comments

Comments
 (0)