On Tue, Sep 13, 2011 at 1:02 PM, Leidner, Mark <mleid...@aer.com> wrote:

> Ben,
>
> Good to hear from you.
>
> We are using matplotlib v1.0.1_5 on an install from Macports.
>
> Hearing that there is simplification logic is very intriguing.
>
> Mark
>
>
Try this and tell me if the results are better.  Right before the line where
you call to_polygons(), add this line:

multipolygon.should_simplify = False

The simplification logic gets triggered automatically if the
rcParam['path.simplify'] is True and if there are more them 128 vertices and
those vertices are all simple LINETO segments.  I think in your situation,
this is true.  So, we can force a non-simplification directly like above, or
set your rcParams file with path.simplify to False (but this may make graph
rendering significantly slower and more resource intensive overall).

The path simplification logic is designed so that one does not see any
visual differences, however, there might need to be some additional logic
for those who are accessing the path directly.

I hope this helps!
Ben Root
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to