A

Admin • 833.24K Points
Coach

Q. What is the result of setting `sharey=True` in `plt.subplots()`?

  • (A) Same y-axis scale across all subplots
  • (B) Y-axis is removed
  • (C) Y-axis shows grid lines
  • (D) Independent y-axis for each plot
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

`sharey=True` forces all subplots to use the same y-axis limits and ticks.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.