matplot报错 Posted on 2018-10-Mon Views: Views: 123456import matplotlibmatplotlib.use('Agg') # <-- add thisimport matplotlib.pyplot as pltplt.plot([1,2,3])plt.savefig('myfig')