From: Benjamin R. <ben...@ou...> - 2010-10-28 14:05:33
|
On Thu, Oct 28, 2010 at 12:44 AM, Andrew Straw <str...@as...> wrote: > On 10/23/2010 04:59, John Hunter wrote: > > I would be happy to do a release early next week. Is anyone aware of > > any show stopper bugs that need to be fixed first? > > I think we should really get the build bot to all green again before > doing a release. Currently, the last that happened was October 4: > http://mpl-buildbot.code.astraw.com/waterfall > > Just as a quick question that I would like to throw out. It isn't a bug, but rather an aesthetics issue that I caused for the version 1.0 release. With allowing 3d plots to be made subplottable, the margins for the plot area became a lot smaller than for the original method of producing 3d plots. This is because of the default region for subaxes, which usually matches the plotting region for a normal plot. However, 3d plots have been explicitly setting the viewing area to take up the entire axes rather than obeying the rcParams. With subplotting (or even creating a single plot using fig.gca() ), the rcParams override the explicit setting of the plot area. Therefore, 3d plots appear "squished" if created using the projection='3d' approach. My question is this: Would it at all be feasible (or even desirable) to have some sort of ability to specify defaults that are specific to a particular axes type? Currently, the code for setting the parameters will grab the rcparams if the figure is being newly created, or will copy the parameters from an existing figure in the case of creating subplots in an existing figure. This assumes a one-size-fits-all which 3d plots might need to be an exception. Thoughts? Comments? Ben Root |