matplotlib的基本使用 matplotlib的基本使用 1、安装matplotlib 2、绘制折线图 matplotlib的基本使用 1、安装matplotlib pip install matplotlib 2、绘制折线图 from matplotlib import pyplot as plt x = range(0, 10) y = [15, 23, 2, 3, 4, 5, 6, 13, 2, 32] # 设置图片大小 plt.figure(figsize=(10, 8), dpi=60) # 绘图...