The plot() function by default plots a _________.
The plot() function by default plots a _________.
Solution
✅ Correct Option: 4
By default, the plot() function in Matplotlib's pyplot draws a line chart. It joins the given (x, y) points with straight lines, and a different chart type is produced only when you ask for it, for example with a format string, a keyword argument or a separate function.
Option 1: histograms need hist().
Option 2: scatter charts need scatter(), or plot() with a marker format such as "o" and no line.
Option 3: bar graphs need bar() or barh().
Related questions:
2026: 18 May Shift 2
2025: 15 May Shift 2
2025: 3 June Shift 2
2025: 21 May Shift 1