摘要:
Matplotlib之scatter 1,使用scatter绘制散点图并设置其样式: 1 import matplotlib.pyplot as plt 2 3 '''使用scatter绘制散点图并设置其样式''' 4 square = [1,4,s=200] 5 6 plt.title("Squa 阅读全文
posted @ 2020-05-19 10:00
、一叶孤城
阅读(730)
评论(0)
推荐(0)
摘要:
1,绘制简单的折线图。 1 import matplotlib.pyplot as plt 2 3 square = [1,4,9,16,25] 4 5 plt.plot(square) 6 plt.show() 2,使用matplotlib修改折现图的标签文字和线条粗细。 1 '''修改标签文字和 阅读全文
posted @ 2020-05-19 09:29
、一叶孤城
阅读(238)
评论(0)
推荐(0)

浙公网安备 33010602011771号