I want to plot a series scatter points xx,yy, and r is point values. I want to create colorbar for r values. It is similar to 2-D coordination plot,just change in basemap in this example.
sc=map.scatter(xx,yy,r,s=30,cmap=plt.cm.jet)
plt.colorbar(sc)
But hint:
TypeError: scatter() got multiple values for argument 's'
This answer explained that 3rd arg in scatter
is size
implicit?
So, what's wrong with it? And how to m.scatter points with colorbar?