I\'m trying to write a program that will create a matplotlib chart and save the png file. I\'ve tried using the savefig() method (more info here), but it gives
savefig()