A

Admin • 833.24K Points
Coach

Q. Which of the following can be used to add labels to the X and Y axes?

  • (A) plt.labelx(), plt.labely()
  • (B) plt.title()
  • (C) plt.xlabel(), plt.ylabel()
  • (D) plt.setx(), plt.sety()
  • Correct Answer - Option(C)
  • Views: 34
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

The functions plt.xlabel() and plt.ylabel() are used to label the x-axis and y-axis respectively.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.