[Matplotlib-users] updating contours

Slavin, Jonathan jslavin at cfa.harvard.edu
Fri Oct 23 11:56:08 EDT 2015


I'm looking at a series of images and want to include overplotted
contours.  To update the image I just need to use the set_data() method of
the AxesImage object.  However, as far as I can tell, there's nothing
similar for the QuadContourSet object.  I tried set_array() but that didn't
work.  Am I missing something?  Does anyone have any suggestions for how to
update the contours?  Of course if necessary I could do a cla(), but that
would be slow, I think.

Jonathan D. Slavin                 Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu       60 Garden Street, MS 83
phone: (617) 496-7981       Cambridge, MA 02138-1516
cell: (781) 363-0035             USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151023/607fd5b2/attachment.html>

More information about the Matplotlib-users mailing list