Error umber 13
Title
Question
error 13, permission denied,
when run the command savefig('sine.png')
Python-3.4.3 Saving-plots 04-05 min 10-20 sec
Answers:
change your directory to Desktop and try running savefig cmd again.
In linux it works(as you've seen in spoken-tutorial) in windows you might have to specify the complete path.
In [14]: savefig('C:/Users/administrator/Desktop/sine.png')
In [15]: savefig('C:/Users/administrator/Desktop/sine.eps')
In [16]: savefig('C:/Users/administrator/Desktop/sine.pdf')
In [17]: savefig('C:/Users/administrator/Desktop/sine.ps')
In [18]: savefig('C:/Users/administrator/Desktop/sine.svg')
Login to add comment