Re: [Matplotlib-users] removing paths inside polygon

2013-03-22 Thread Andrew Dawson
Thanks, the clipping is working now. But as you say the weird line width issue still remains for Agg (and png, perhaps that uses Agg, I don't know...). PDF output looks correct. On 20 March 2013 05:48, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Wed, Mar 13, 2013 at 2:17 AM, Andrew Dawson

Re: [Matplotlib-users] removing paths inside polygon

2013-03-22 Thread Michael Droettboom
See https://github.com/matplotlib/matplotlib/pull/1846 On 03/22/2013 11:17 AM, Michael Droettboom wrote: It's puzzler. I'm looking at it now. Mike On 03/22/2013 06:33 AM, Andrew Dawson wrote: Thanks, the clipping is working now. But as you say the weird line width issue still remains for

Re: [Matplotlib-users] removing paths inside polygon

2013-03-19 Thread Jae-Joon Lee
On Wed, Mar 13, 2013 at 2:17 AM, Andrew Dawson daw...@atm.ox.ac.uk wrote: You should see that the circle is no longer circular, and also there are weird line width issues. What I want it basically exactly like the attached without_clipping.png but with paths inside the circle removed. The

[Matplotlib-users] removing paths inside polygon

2013-03-12 Thread Andrew Dawson
Hi I'd like to be able to clip a line so that the portion of it lying outside of a given polygon remains visible and the part that lies inside of the polygon is not visible. What I want is basically the opposite of: line.set_clip_path(polygon) which leaves only the part of the line inside