The divider thing from axes_grid toolkit is primarily designed for a static
layout. So, it may become quite tricky when you want to adjust the layout
dynamically.
Here is a modified version your code that I think does what you want.
from matplotlib.figure import Figure
from mpl_toolkits.axes_grid
Hi everyone,
I'm getting in trouble trying to delete a couple of subaxes from my canvas.
The problem is shown by the example script below:
from matplotlib.figure import Figure
from mpl_toolkits.axes_grid.axes_divider import make_axes_locatable
from matplotlib.backends.backend_qt4agg import Figure
On Thu, Aug 06, 2009 at 10:53:13AM -0400, Jae-Joon Lee wrote:
> The thread below might be helpful.
> http://thread.gmane.org/gmane.comp.python.matplotlib.general/16373
> This will work as far as you keep the aspect="auto".
> Also, if you're using matplotlib 0.99rc version, or matplotlib from
> s
The thread below might be helpful.
http://thread.gmane.org/gmane.comp.python.matplotlib.general/16373
This will work as far as you keep the aspect="auto".
Also, if you're using matplotlib 0.99rc version, or matplotlib from
svn, you may take a look at
http://matplotlib.sourceforge.net/mpl_toolki
Hi Gaƫl,
there might be a better way of doing it, but the attached example seems to do
the job.
best regards Matthias
On Thursday 06 August 2009 10:46:44 Gael Varoquaux wrote:
> Given an axes instance ax1, I would like to create another axes instance
> ax2, embedded in the first one with a give
Given an axes instance ax1, I would like to create another axes instance
ax2, embedded in the first one with a given rectangle, in ax1
coordinates.
For instance, I might want to create axes ax2 that sit in the top left
corner of ax1, with height and width 0.25 times those of ax1.
What is the righ