A

Admin • 833.24K Points
Coach

Q. What does 'plt.clf()' do in Matplotlib?

  • (A) Closes the figure window
  • (B) Clears the current figure
  • (C) Formats the current plot
  • (D) Fixes axis scaling
  • Correct Answer - Option(B)
  • Views: 18
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

plt.clf() clears the current figure to start a fresh plot.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.