Hi,
I want to inset one axes within a larger one... as in
http://matplotlib.sourceforge.net/screenshots/axes_demo.py and
http://matplotlib.sourceforge.net/screenshots/axes_demo_small.png
but I was wondering if there is an option similar to "best" location
in the legend function. So, instead of hardwiring, like:
a = axes([.65, .6, .2, .2], axisbg='y'), I like it automatically place
the inset in a "best" location!
Thanks,
Nino
There isn't any such function, but you could look at the legend code
for loc="best" for inspiration if you want t roll your own.
JDH
ยทยทยท
On Thu, Apr 24, 2008 at 4:11 PM, Antonino Miceli <antonino.m@...287...> wrote:
Hi,
I want to inset one axes within a larger one... as in
http://matplotlib.sourceforge.net/screenshots/axes_demo.py and
http://matplotlib.sourceforge.net/screenshots/axes_demo_small.png
but I was wondering if there is an option similar to "best" location
in the legend function. So, instead of hardwiring, like:
a = axes([.65, .6, .2, .2], axisbg='y'), I like it automatically place
the inset in a "best" location!