Advertisements
Advertisements
Question
Name the function which is used to save the plot.
Very Short Answer
Advertisements
Solution
plt.savefig()
The savefig() function of the Matplotlib library is used to save a plot or graph as an image file. It can save the plot in formats like PNG, JPG, PDF, etc.
shaalaa.com
Is there an error in this question or solution?
