A

Admin • 802.91K Points
Coach

Q. Which of the following methods saves a plot to a file?

  • (A) plt.export()
  • (B) plt.save()
  • (C) plt.savefig()
  • (D) plt.output()
  • Correct Answer - Option(C)
  • Views: 3
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin
plt.savefig() saves the current figure to a file in formats like PNG, PDF, etc.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.