画散点图

import matplotlib
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
ax.scatter(列1, 列2, 列1的标签, 列2的标签)
plt.show()
原文地址:https://www.cnblogs.com/lfydeblog/p/8462646.html