matplotlib.pyplot
matplotlib.pyplot.set_cmap
matplotlib.pyplot.
set_cmap
设置默认颜色贴图,并将其应用于当前图像(如果有)。
Colormap
colormap实例或已注册colormap的名称。
参见
colormaps
matplotlib.cm.register_cmap
matplotlib.cm.get_cmap