How to get current value of xlim/ylim?

Hello Heiko -

dir(graph) would at least have given you a list of the functions and attributes, so you may have been able to spot the get_xlim function.
I use that a lot,

Mark

···

Date: Mon, 11 Feb 2008 14:14:03 +0100
From: Slackenerny <slackenerny@…1863…>

Subject: Re: [Matplotlib-users] How to get current value of xlim/ylim?
To: matplotlib-users@lists.sourceforge.net
Message-ID: <1619590049.20080211141403@…1863…>

Content-Type: text/plain; charset=iso-8859-15

Hi,
I could help myself with

graph.get_xlim()
which I found after finally guessing the right expressions for Google,
but I wonder how I could have found it in the help() output…

I’ve been searching that for quite sometime and didn’t come up with
anything…
So, how could I have helped myself, without annoying you? :wink:

best wishes