A

Admin • 833.24K Points
Coach

Q. How do you create a filled area under a curve in Matplotlib?

  • (A) plt.fill_between()
  • (B) plt.shade()
  • (C) plt.underplot()
  • (D) plt.area()
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

plt.fill_between() is used to fill the area between a curve and the x-axis.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.