Advertisements
Advertisements
Question
Read the statements given below and identify the right option while drawing a Line Chart.
Statement A: While making line chart, it is compulsory to give legend location.
Statement B: If single list or array is provided to the plot() command, matplotlib assumes it is a sequence of y values.
Options
Statements A and B both are correct.
Statements A and B both are incorrect.
Statement A is correct, but Statement B is incorrect.
Statement A is incorrect, but Statement B is correct.
MCQ
Solution
Statement A is incorrect, but Statement B is correct.
shaalaa.com
The Pandas Plot Function (Pandas Visualisation)
Is there an error in this question or solution?