RE How to turn off all clipping?

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,



From: John Hunter
Sent: Thursday, March 19, 2009 12:44 PM
To: Eric Firing
Cc: Hatch, Sara J;
Subject: Re: [Matplotlib-users] How to turn off all clipping?

On Thu, Mar 19, 2009 at 2:33 PM, Eric Firing <efiring@…202…> wrote:

def noclip(ax):
“Turn off all clipping in axes ax; call immediately before
artists = []

Or even better::

for o in fig.findobj():

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