Eric Firing wrote: > Drain, Theodore R (343P) wrote: > >> FYI: Thanks for the help John. >> >> This is case where having path.simplify = True causes the plot to be >> incorrect. Attached are two different images (not quite the same data >> as the original post- but the same affect). One with path.simplify as >> true and one as false. Notice the bottom right plot - the simplify case >> causes a massive change in the way the plot looks. >> >> It looks like we'll be reconfiguring things for our users to make sure >> this is set to false for now. I haven't experimented w/ the threshold >> argument to see where this kicks in. It's definitely a function of plot >> size (which is probably expected after reading the simplify documentation). >> >> Does anyone know if there is a good write up anywhere on the cases where >> having path.simplify=True is important? I'll search back through the >> old list posts and see what I can find... >> > > It is a matter of speed, and I think of some hard limits in agg on the > number of points it can handle. > Exactly. To that, I would add that it greatly decreases file size for the vector formats (Ps, Pdf, Svg etc.), and also works around similar limitations in Adobe Acrobat Reader (and probably other renderers).
I consider any case where path.simplify *must* be False in order to get correct results to be a bug. The particular bug here (exercised in the attachment in James' original e-mail) was fixed relatively recently on October 21 (r7896). I can confirm the broken behavior with the most recently released version (0.99.1.2), but not with the 0.99.x maintenance branch in SVN. So this fix will make it into the next 0.99.x point release. Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel