Re: [Matplotlib-users] Creating axes with fixed distance from figure edge

2015-09-09 Thread Benjamin Root
What might be more generally useful is to make it easier to specify which coordinate system you wish some spec to apply to. To be frank, I can never keep the transform names straight, and it isn't possible to specify it at all in some places. On Sep 9, 2015 6:04 PM, "Thomas Robitaille" wrote: > I

Re: [Matplotlib-users] Creating axes with fixed distance from figure edge

2015-09-09 Thread Thomas Robitaille
I managed to write an Axes sub-class to do this: https://gist.github.com/astrofrog/8d579ea83e578a9cdb99 Try running this then resize the figure and the margin between axes and figure edge will stay constant. Is this something that would be useful to have in Matplotlib itself? I could foresee som

Re: [Matplotlib-users] Creating axes with fixed distance from figure edge

2015-09-09 Thread Thomas Robitaille
Thanks Eric - unfortunately I need to be able to resize the figure interactively and have the axes follow. So an alternative that would be equally useful for me would be to specify axes using add_subplot or add_axes but then essentially have an option to say that the distance to the edge of the fi

[Matplotlib-users] Creating axes with fixed distance from figure edge

2015-09-09 Thread Thomas Robitaille
Hi everyone, I am interested in creating axes in an interactive figure where the distance from the spines of the axes to the figure edge are constant in absolute terms. To clarify what I mean, when using add_axes([0.1, 0.1, 0.8, 0.8]), the spines of the axes are always located a distance from the

Re: [Matplotlib-users] Matplotlib Curve Overlapping with Animated plot

2015-09-09 Thread Benjamin Root
Thales, Sorry for the delay in responding. This mailing list has actually moved to https://mail.python.org/mailman/listinfo/matplotlib-users Let's start up a new thread there with this information, plus also which version of matplotlib you are using and which backend. Cheers! Ben Root On Wed,