Bojan Nikolic wrote: > Dear All, > > I've placed some very simple colour bar patches at : > > https://code.launchpad.net/~bojan-bnikolic/python2.4-matplotlib/bn-colourbar-patches > > They make default shrink of the colour bar such that it is the same size > as the image part of the figure. Merge if/as you see fit. > > Best, > Bojan >
Bojan, Thank you for the suggested patches. Unfortunately, however, they do not in general solve the problem of size mismatch between the colorbar and the corresponding axes, as you will see if you try a variety of axes dimensions and aspect ratio settings. Your patch is equivalent to setting the default shrink to 0.8 instead of 1.0, and I agree that this is a better default. I did not use it originally simply for the sake of backwards and Matlab compatibility. I suspect that making the change will please more people than it will upset, though, so I will try it in svn after the switch to the transforms branch. I don't see any point in making little changes like this right now, when we are trying to stabilize a last release before that switch. Everyone has lived with the present default for a long time, and a few more weeks won't hurt. A more general solution to the size-matching problem may emerge after we switch to the transforms branch, but to my mind it is fairly low priority. Eric ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel