[yt-users] Clumps, contours, n_contours

david collins dcollins4096 at gmail.com
Mon May 20 15:17:34 PDT 2013


Hi, all--

I'm seeing a glitch in the matplotlib countor function, as employed by
annotate_clumps.  As is, I'm seeing some clumps that are not plotted by the
countour plotter unless I bump the number of contours-- I get all the plots
if I change the contour line to:

self.rv = plot._axes.contour(buff, len(self.clumps)+5,
                                     extent=extent,**self.plot_args)

instead of

self.rv = plot._axes.contour(buff, len(self.clumps)+1,
                                     extent=extent,**self.plot_args)


Is this a glitch that anyone is aware of?  Is there a more general fix?
 The clump contour is not the only time I've run into this glitch. It seems
to happen on large contours, for what that's worth.

Thanks!
d.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130520/9ec70d5c/attachment.htm>


More information about the yt-users mailing list