On Tue, Apr 12, 2011 at 3:31 AM, Jonathan Slavin
<jsla...@cfa.harvard.edu> 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

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to