Home »
Python »
Matplotlib MCQs
Which function is used to save a Matplotlib plot as an image file?
35. Which function is used to save a Matplotlib plot as an image file?
- saveimage()
- saveimg()
- savefig()
- exportimgfig()
Answer: C) savefig()
Explanation:
The savefig() function is used to save a Matplotlib plot as an image file.