SyntaxFix
Write A Post
Hire A Developer
Questions
plt.show() should come after plt.savefig()
plt.show()
plt.savefig()
Explanation: plt.show() clears the whole thing, so anything afterwards will happen on a new empty figure