A

Admin • 833.24K Points
Coach

Q. Which function sets the aspect ratio of a plot?

  • (A) plt.ratio()
  • (B) plt.aspect()
  • (C) plt.axis('equal')
  • (D) plt.set_ratio()
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

plt.axis('equal') sets the same scaling for both axes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.