First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 8 years ago

ndomes gravatar image

Try

plt.savefig('mychart.png')

instead of

plt.show()