diff --git a/examples/pylab_examples/tripcolor_demo.py b/examples/pylab_examples/tripcolor_demo.py index bb8757617143..0817c63c53b1 100644 --- a/examples/pylab_examples/tripcolor_demo.py +++ b/examples/pylab_examples/tripcolor_demo.py @@ -97,7 +97,7 @@ plt.figure() plt.gca().set_aspect('equal') plt.tripcolor(x, y, triangles, z, shading='flat', edgecolors='k', - cmap=cm.summer) + cmap='summer') plt.colorbar() plt.title('tripcolor of user-specified triangulation') plt.xlabel('Longitude (degrees)')