From: Jae-Joon L. <lee...@gm...> - 2010-06-10 18:01:02
|
On Thu, Jun 10, 2010 at 12:47 PM, Benjamin Root <ben...@ou...> wrote: > P.S. - I have found a 'bug' of sorts with using 'box-forced' for Basemap and > AxesGrid. For the displayed plot, if one were to zoom in on one of the > plots, the other plots will zoom in as well (which I think is neat), but > they won't update their bbox to completely match the zoomed-in axes. I > guess this would be an argument against using 'box-forced'? By default, x-axis is shared along the axes in a same column and y-axis is shared along the axes in a same raw. i.e., in your example, only the y-axis are shared which I think is the source of your issue. http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html#axesgrid I think what you want is to use share_all=True. grid = AxesGrid(fig, 111, nrows_ncols=(1, 3), axes_pad=0.1, share_all=True, cbar_mode='single', cbar_pad=0.05, cbar_size=0.08, ) Is this solve your problem? Regards, -JJ |