get_cmap

カラーマップを得る。
matplotlibの線グラフの標準カラーは次のようにして得る。cmap=plt.get_cmap('tab10')plt.plot(x,y,color=cmap(1))plt.plot(x,y,color=cmap(3))