Advertisements
Advertisements
Question
By default, the plot() function of Matplotlib draws a ______ plot.
Options
Histogram
Column
Bar
Line
MCQ
Fill in the Blanks
Solution
By default, the plot() function of Matplotlib draws a line plot.
Explanation:
Matplotlib's plot() function defaults to drawing a line plot. If you only provide data points (without specifying a plot type), plot() will connect them with lines, resulting in a line graph.
shaalaa.com
Is there an error in this question or solution?