Re: [Matplotlib-users] bbox of map

2011-07-03 Thread Scott Sinclair
On 1 July 2011 16:52, marz_cyclone wrote: > i'm trying to get the bounding box of a map plotted with basemap to place a > colorbar. in this reduced example from the example directory of basemap, the > colorbar is set to the hight of the axes of the plot. > ... > > what i'm interested in is the bou

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 62, Issue 3

2011-07-03 Thread Angus McMorland
On 3 July 2011 10:33, Wang Jun wrote: > Hello, Angus! > > For this method, if I want to draw a colorbar to indicate the specific > values > for the colors, what should I do? the colorbar() in pylab is not waorking > for > this case. Use: plt.colorbar(ax.collections[0]) after the call to scatter

Re: [Matplotlib-users] Matplotlib-users Digest, Vol 62, Issue 3

2011-07-03 Thread Wang Jun
Hello, Angus! For this method, if I want to draw a colorbar to indicate the specific values for the colors, what should I do? the colorbar() in pylab is not waorking for this case. Thanks, Wang Jun 于 2011/7/3 8:48, matplotlib-users-requ...@lists.sourceforge.net 写道: > On 1 July 2011 14:35, Fr