cmap = 'nipy_spectral'
plt.imshow(mask,cmap=plt.get_cmap(cmap))
plt.colorbar()
plt.show()

matplotlib中的colorbar颜色不够鲜明怎么办?_javascript