On Wed, Feb 24, 2010 at 3:56 AM, David Goldsmith <d_l_goldsm...@yahoo.com> wrote: > cmap='LUTSIZE' does not create an image: it is an invalid value for imshow's > cmap argument. Many images are created successfully by my loop before > cmap='LUTSIZE' without me calling cla, and Friedrich's soln. works great > w/out me having to call cla.
It DOES create an image at least in the svn version of matplotlib (although I consider it as a bug). But this may not be true in other version. As I said, without calling cla, you end up with bunch of overlapping images (unless hold is False). It DOES NOT mean that the results will be wrong. It only means that it will increase the drawing time and/or output size. You do not have to call cla if you don't care about these. You may check the number of images in the current figure by print len(ax.images) -JJ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users