> -----Original Message----- > From: John Hunter [mailto:jdh2...@gmail.com] > Sent: Friday, January 30, 2009 11:29 AM > To: Henshaw, Andy > Cc: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] Plot only inside a disc > > On Fri, Jan 30, 2009 at 10:27 AM, <andy.hens...@gtri.gatech.edu> > wrote: > > > Hmm ... this doesn't quite give me what I'm looking for. When I do > that, I get a semitransparent circle that is clipped to a rectangle. > What I need is a semi-transparent rectangle (with a hole cut out of the > middle) that overlays the plot. The attached graphic demonstrates the > concept. > > It sounds like what you want is a complex path and may not need to > muck with clipping at all. Take a look at > > http://matplotlib.sourceforge.net/examples/api/donut_demo.html
Okay, although I wish the clipping was working as I expected, as it looks like it would have been **quite a bit** cleaner. It looks like your svn patch would enable me to do what I want with patches, wouldn't you agree? ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users