First time here? Check out the FAQ!
answered 2016-08-23 21:17:59 +0100
Try
plt.savefig('mychart.png')
instead of
plt.show()