Increase max polygons/patches

Greetings, MPL Users.

I have a very detailed array that I am visualizing using pcolor mesh. When the size of the array surpasses some threshold (I don’t know the value), pcolormesh stops drawing polygons/patches. Thus, I only see some percentage of my array. Is there a way to increase the number of polygons/patches MPL will draw to screen?

Thanks.

-dw

There is no hard coded limit to the number of quads in a pcolormesh.
(Unlike the limit of the number of points in a path in the Agg
backend). Can you provide some code that reproduces the error?

Also, which version of matplotlib, platform and backend are you using?

Mike

···

http://p.sf.net/sfu/vmware-sfdev2dev


Matplotlib-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-users

-- Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA

Is this potentially a path.simplify issue? If you set path.simplify
to False in your rc params, does the problem go away?

  import matplotlib
  matplotlib.rcParams['path.simplify'] = False

In older versions of matplotlib, there was a bug in path.simplify that
caused it to simplify paths to the point where it caused perceptual
problems. The current path.simplify is not supposed to produce
detectable changes, so as Michael said please include your mpl version
in your response.

JDH

···

On Thu, Apr 21, 2011 at 11:22 AM, Michael Droettboom <mdroe@...86...> wrote:

There is no hard coded limit to the number of quads in a pcolormesh.
(Unlike the limit of the number of points in a path in the Agg backend).
Can you provide some code that reproduces the error?

Also, which version of matplotlib, platform and backend are you using?