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

Skip to content

Commit 6fe6967

Browse files
committed
Merge pull request #974 from cgohlke/patch-10
Fix tripcolor_demo.py
2 parents a720fd7 + d2086ff commit 6fe6967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/tripcolor_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
plt.figure()
9898
plt.gca().set_aspect('equal')
9999
plt.tripcolor(x, y, triangles, z, shading='flat', edgecolors='k',
100-
cmap=cm.summer)
100+
cmap='summer')
101101
plt.colorbar()
102102
plt.title('tripcolor of user-specified triangulation')
103103
plt.xlabel('Longitude (degrees)')

0 commit comments

Comments
 (0)