English

In Python which function of matplotlib library is used to save a plot? - Informatics Practices

Advertisements
Advertisements

Question

In Python which function of matplotlib library is used to save a plot?

Options

  • save()

  • saveplot()

  • export()

  • savefig()

MCQ
Advertisements

Solution

savefig()

Explanation:

In Matplotlib, the savefig() function is used to store a plot as an image file, such as PNG or JPG.

shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×