From: John Hunter <jdh2358@gm...> - 2008-04-25 01:58:13
On Thu, Apr 24, 2008 at 4:11 PM, Antonino Miceli <antonino.m@...> wrote:
> I want to inset one axes within a larger one... as in
> http://matplotlib.sourceforge.net/screenshots/axes_demo.py and
> 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!
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.