What names can be used in plt.cm.get_cmap?
问题 I have this code : plt.scatter(data_projected[:,0],data_projected[:,1],c=digits.target ,edgecolors='none',alpha=0.5,cmap=plt.cm.get_cmap('nipy_spectral',10)); My confusion comes from plt.cm.get_cmap('nipy_spectral',10) . Sometimes there will be plt.cm.get_cmap('RdYlBu') instead. Is the 'RdYlBu' , 'nipy_spectral' the name of a color? And is there any other names to use instead? Is there a list of all colors available? I have read the document but it does not seem to help or I do not understand