Match List-I with List-II
List-I List-II (A) plt.scatter() (I) adds title to the plot (B) plt.title() (II) plots scatter plot (C) plt.plot() (III) module used for plotting graphs (D) matplotlib.pyplot (IV) creates line chart
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) plt.scatter() | (I) adds title to the plot |
| (B) plt.title() | (II) plots scatter plot |
| (C) plt.plot() | (III) module used for plotting graphs |
| (D) matplotlib.pyplot | (IV) creates line chart |
Solution
✅ Correct Option: 1
| List I | List II |
|---|---|
| (A) plt.scatter() | (II) plots scatter plot |
| (B) plt.title() | (I) adds title to the plot |
| (C) plt.plot() | (IV) creates line chart |
| (D) matplotlib.pyplot | (III) module used for plotting graphs |
plt.plot() draws a line chart by default. A scatter plot needs plt.scatter(), which plots unconnected points.
matplotlib.pyplot is the module itself, and plt is the usual alias from import matplotlib.pyplot as plt. The other three are functions inside it.
Related questions:
2025: 15 May Shift 2
2026: 26 May Shift 1
2025: 14 May Shift 1
2025: 13 May Shift 2
2025: 16 May Shift 1
2026: 21 May Shift 1