A

Admin • 833.24K Points
Coach

Q. What does 'plt.tight_layout()' do in Matplotlib?

  • (A) Adds extra padding between subplots
  • (B) Automatically adjusts subplot parameters to give specified padding
  • (C) Removes all white space from the figure
  • (D) Fixes the aspect ratio
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

plt.tight_layout() adjusts subplot spacing automatically to prevent overlap between elements.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.