Matplotlib安装
conda install matplotlib
matplotlib安装与画曲线图
import matplotlib.pyplot as plt
plt.switch_backend('agg')
plt.figure()
plt.plot(var_x_list, var_y_list, 'b', label='My curve name')
plt.ylabel('y_label')
plt.xlabel('x_lable')
plt.legend()
plt.savefig('curve_name.png')
plt.close('all')