India Languages, asked by romasevkani5011, 10 months ago

savefig('sine.png') saves the plot in which directory ?

Answers

Answered by suskumari135
1

/home/fossee or root directory.

Explanation:

Use savefig() function to save the plot.  

Syntax:  

savefig('/home/fossee/sine.png')  

savefig() function accepts only one argument  

File name.  

The last 3 characters are written after dot(.) in given filename refers to extension/type of the file defines the format in which file will be saved.  

/home/fossee refers to the full path or absolute path where you want to save the file.

Similar questions