savefig('sine.png') saves the plot in which directory ?
Answers
Answered by
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
Social Sciences,
5 months ago
English,
5 months ago
Chemistry,
5 months ago
Chemistry,
10 months ago
Math,
10 months ago