You can use savefig() to export to an image file:
plt.savefig('filename.png')
In addition, you can specify the dpi argument to some scalar value, for example:
plt.savefig('filename.png', dpi=300)
You can use savefig() to export to an image file:
plt.savefig('filename.png')
In addition, you can specify the dpi argument to some scalar value, for example:
plt.savefig('filename.png', dpi=300)