Advertisements
Advertisements
Question
Explain the purpose of the following function:
plt.legend()
One Line Answer
Solution
plt.legend() is used to invoke the default legend with plt.
shaalaa.com
Getting Started
Is there an error in this question or solution?