I want to make this colorbar using python.
I got some code to make the colorbar which is not as good as the colorbar attached. Could you please help me to make such nice colorbar?`
cmap = [(0.0,0.0,0.0)] + [(cm.jet(i)) for i in range(1,256)]
cmap = mpl.colors.ListedColormap(cmap)
img = plt.imshow(data, cmap=cmap),`