Q. How do you add a legend to a Matplotlib plot?

आप मैटप्लोटलिब प्लॉट में लेजेंड कैसे जोड़ते हैं?

A
plt.show_legend()
B
plt.legend()
C
plt.add_legend()
D
plt.display_legend()

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment