Re: [Matplotlib-users] Background basemaps in Basemap

2012-08-27 Thread Alexander Crosby
to the Basemap part of the code. I can see that it could be useful and not to difficult to add an EPSG kwarg for a few most common projections and how they would be used by Basemap users. Alexander Crosby RPS-ASA On Mon, 2012-08-27 at 06:34 -0600, Jeff Whitaker wrote: On 8/26/12 9:07 PM, klo

[Matplotlib-users] More efficient way to set_clip_path for many polygons?

2012-06-19 Thread Alexander Crosby
The code below is a stripped down version of the way i am implementing a clip operation, but it is slow and memory inefficient. Is there a way to do this without looping or just faster, perhaps with a PolygonCollection? I have code that finds the perimeter path of a triangulation like this, but i

[Matplotlib-users] Possible to clip image with all elements of polycollection?

2012-06-07 Thread Alexander Crosby
Is it possible to clip an image like the matplotlib clip example, but by using a polycollection. I'd like to avoid looping through and creating paths/patches for each element and then combining them all at the end, is that the only way? Cheers, Alex Alexander Crosby RPS ASA 55 Village S