Python-图形绘制 发表于 2019-11-08 | 更新于 2022-01-21 | 分类于 编程语言 , Python | 阅读次数: matplotlib 绘图散点图12345678910import matplotlib.pyplot as pltdef draw_scatter(): np.random.seed(10) x = np.arange(0, 20) y = np.arange(0, 20) + np.random.randint(low=0, high=5, size=20) plt.scatter(x, y) plt.show() draw_scatter() Thanks for rewarding 打赏 微信支付 支付宝