matplotlib savefig tidak berfungsi

# Call plt.show() after plt.savefig("filename.png")
# (Because plt.show() clears the plot from memory)
Arno Deceuninck