saving . . . saved savefig() function has been deleted. savefig() function has been hidden .
savefig() function
Title
Question
it shows permission denied error when I try to save the plot by using the command: savefig('sine.png')


Python-3.4.3 Saving-plots 02-03 min 10-20 sec 22-04-20, 4:51 p.m. G S Mahamunkar

Answers:

Please make sure that you have permissions to save files in the directory that you are saving the file to. You can check which directory the IPython shell is pointing to by using the magic command %pwd
 
22-04-20, 7:14 p.m. ankitrj.iitb
Thank you!
23-04-20, 11 a.m. G S Mahamunkar

Login to add comment


Log-in to answer to this question.