Scatter plot colorbar – Matplotlib
You’re passing in specific rgb values, so matplotlib can’t construct a colormap, because it doesn’t know how it relates to your original data. Instead of mapping the values to RGB colors, let scatter handle that for you. Instead of: Do: (Just pass in to c what you were originally passing into plt.cm.jet.) Then you’ll be … Read more