标签: python matplotlib
我正在使用matplotlib 2.2.3,下面是我的代码
matplotlib
import matplotlib.pyplot as plt """Plot out the different clusters""" # Choose a different colour for each cluster colour = plt.cm.rainbow(np.linspace(0, 1, len(centroids)))
它将无法找到rainbow参考
rainbow