From d2086ff4fc9b680d20afd1046dc75e21d45c3400 Mon Sep 17 00:00:00 2001 From: cgohlke Date: Fri, 29 Jun 2012 17:47:07 -0700 Subject: [PATCH] Fix tripcolor_demo.py --- examples/pylab_examples/tripcolor_demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)')