From: Eric F. <ef...@ha...> - 2006-03-20 19:44:10
|
Jeff, Jeff Whitaker wrote: > > Eric: It occurred to me that there are actually 9 possibilities for > adjusting the location of the plot in the bounding box after fixing the > aspect ratio. Here's a patch to this morning's svn axes.py that adds > the other 7 possibilities. Does this make sense to you? If so, I can > go ahead and apply it. > > -Jeff Thanks, but I think it would be better to hold off. This possibility did occur to me, but I originally left it out to keep things simple, both in the API and in the code. (My inclination was actually to make centering standard, and not even offer the corner-anchoring.) I think that perhaps this sort of positioning functionality should be factored out. Resizing and repositioning are more generally useful; for example, they are used in the colorbar function. I would like to take a look at this broader question before finalizing the axes aspect ratio handling. Eric |