A

Admin • 833.24K Points
Coach

Q. What is returned by 'plt.subplots(nrows=2, ncols=2)'?

  • (A) Only one axes object
  • (B) List of 4 figure objects
  • (C) Tuple of figure and 2D array of axes
  • (D) Only a subplot grid object
  • Correct Answer - Option(C)
  • Views: 22
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

It returns a tuple: (figure, array of axes) in a 2x2 layout.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.