import matplotlib import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) ax.scatter(列1, 列2, 列1的标签, 列2的标签) plt.show()