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?

  1. saveimage()
  2. saveimg()
  3. savefig()
  4. exportimgfig()

Answer: C) savefig()

Explanation:

The savefig() function is used to save a Matplotlib plot as an image file.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.