Answers for "matplotlib save figure but don't show"

6

save matplotlib figure

plt.savefig('image.png')
Posted by: Guest on July-22-2020
2

matplotlib savefig not working

# Call plt.show() after plt.savefig("filename.png")
# (Because plt.show() clears the plot from memory)
Posted by: Guest on April-23-2021

Code answers related to "matplotlib save figure but don't show"

Python Answers by Framework

Browse Popular Code Answers by Language