📅  最后修改于: 2022-03-11 14:45:46.177000             🧑  作者: Mango
代码示例1
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.savefig('/tmp/test.png')