From: Jae-Joon L. <lee...@gm...> - 2011-04-21 06:20:13
|
On Tue, Apr 12, 2011 at 3:31 AM, Jonathan Slavin <js...@cf...> wrote: > (Shouldn't the default behavior > be to scale to height if the colorbar is vertical and width if its > horizontal?) Because of the design of the matplotlib, this is not straight forward to implement. While there could be a few ways to do it, you may try axes_grid1 toolkit. http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/users/overview.html#colorbar-whose-height-or-width-in-sync-with-the-master-axes Regards, -JJ |