CBSE Class 12 Informatics Practices Question 106 of 147

Plotting with Pyplot — Question 6

Back to all questions
6
Question

Question 6

What is the role of legends in a graph/chart ?

Answer

In a chart/graph, there may be multiple datasets plotted. To distinguish among various datasets plotted in the same chart, legends are used. Legends can be different colors/patterns assigned to different specific datasets. The legends are shown in a corner of a chart/graph.