Match List-I with List-II
List-I List-II (A) matplotlib.pyplot.xlabel() (I) To build a plot (B) matplotlib.pyplot.title() (II) To display the heading of a plot (C) matplotlib.pyplot.show() (III) To display the figure (D) matplotlib.pyplot.plot() (IV) To set the x label of the plot
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) matplotlib.pyplot.xlabel() | (I) To build a plot |
| (B) matplotlib.pyplot.title() | (II) To display the heading of a plot |
| (C) matplotlib.pyplot.show() | (III) To display the figure |
| (D) matplotlib.pyplot.plot() | (IV) To set the x label of the plot |
Solution
✅ Correct Option: 2
| List I | List II |
|---|---|
| (A) matplotlib.pyplot.xlabel() | (IV) To set the x label of the plot |
| (B) matplotlib.pyplot.title() | (II) To display the heading of a plot |
| (C) matplotlib.pyplot.show() | (III) To display the figure |
| (D) matplotlib.pyplot.plot() | (I) To build a plot |
plot() only draws the data. Nothing appears on screen until show() is called.
Related questions:
2026: 23 May Shift 2
2025: 15 May Shift 2
2026: 21 May Shift 1
2025: 15 May Shift 2
2026: 23 May Shift 1