Re: [Matplotlib-users] How to place an image colorbar next to the image when there are several subplots ?

2015-02-20 Thread Sterling Smith
Peter, You’re welcome. While I appreciate that you are trying to cut down on unnecessary emails (as per emailcharter.org - interesting read), it is appropriate to include the list in your responses, especially one indicating that a solution has been found, so that others on the list stop think

[Matplotlib-users] ANN: SciPy Latin América 2015 - Call for Proposals

2015-02-20 Thread Raniere Silva
*Call for Proposals* *SciPy Latin América 2015*, the third annual Scientific Computing with Python Conference, will be held this *May 20-22* in *Posadas, Misiones, Argentina*. SciPy is a community dedicated to the advancement of scientific computing through open source Python software for mathema

Re: [Matplotlib-users] How to place an image colorbar next to the image when there are several subplots ?

2015-02-20 Thread Fabrice Silva
Le jeudi 19 février 2015 à 23:10 -0800, Peter Rowat a écrit : > I apologize for asking such a trivial question, but I’ve spent a long time > trying to fix this: > > I have a large 2D array that displays as an image, with a colorbar on the > side. > I also display 2 curves on top of the image. i.

Re: [Matplotlib-users] How to place an image colorbar next to the image when there are several subplots ?

2015-02-20 Thread Sterling Smith
Peter, I think that you want cax = ax1.imshow(…) cbar = fig.colorbar(cax,ax=ax1) # Where the ax keyword tells the colorbar which axes to steal space from. [1] If you want the colorbar to be to the right of the first axes, and have the second and third axes line up with the first, then you need