CBSE Class 12 Informatics Practices Question 99 of 147

Plotting with Pyplot — Question 15

Back to all questions
15
Question

Question 15

Name the function to show legends on a plot.

Answer

The legend() function in Matplotlib's Pyplot library is used to display a legend on the plot.