A

Admin • 833.24K Points
Coach

Q. What does 'fig, ax = plt.subplots()' return?

  • (A) Only a figure object
  • (B) Only an axis object
  • (C) A figure and one or more axes objects
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

plt.subplots() returns a tuple of figure and axes objects used for OO-style plotting.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.