From: Thomas R. <tho...@gm...> - 2009-11-05 19:31:54
|
Hi, Is there an easy way to add axes to a figure, but specify the 'rect' in real rather than relative units? For example, something like: fig.add_axes([0.5,0.5,3.,3.], inches=True) This would guarantee that for example if I want to increase the canvas size to add more subplots, I don't have to re-adjust all the existing axes. Also, it makes it easier to figure out the aspect ratio of axes, without having to worry about the canvas size. Is there a way to do this already, or is the easiest way to write a wrapper for add_axes that uses the canvas size from fig? Cheers, Thomas |