John and Eric,
Thanks for your responses. I think I can do what I want with your suggestions.
As for the reason I wanted to know this: I found that when I placed a pdf
image created with matplotlib into Adobe Illustrator and then shrunk it down to
fit into my poster that the edges of my plot were being cut-off by the clipping
mask. In addition, the clipping masks were being grouped with the matplotlib
lines (called a path in Illustrator) and it made it more difficult to find an
individual path and tweak it in Illustrator.
Thanks again,
Sara
From: John Hunter [mailto:jdh2...@gmail.com]
Sent: Thursday, March 19, 2009 12:44 PM
To: Eric Firing
Cc: Hatch, Sara J; matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] How to turn off all clipping?
On Thu, Mar 19, 2009 at 2:33 PM, Eric Firing
<efir...@hawaii.edu<mailto:efir...@hawaii.edu>> wrote:
def noclip(ax):
"Turn off all clipping in axes ax; call immediately before drawing"
ax.set_clip_on(False)
artists = []
Or even better::
for o in fig.findobj():
o.set_clip_on(False)
findobj is an artist method that recursive searches all the artists contained
in it -- you can optionally specify the type of artist you want returned. See
http://matplotlib.sourceforge.net/examples/pylab_examples/findobj_demo.html
JDH
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users