A

Admin • 833.24K Points
Coach

Q. Which parameter in `plt.legend()` controls its location?

  • (A) pos
  • (B) loc
  • (C) where
  • (D) place
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

`loc` sets the legend location (e.g., loc='upper right').

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.