Match List-I with List-II
List-I List-II (A) ylabel( ) (I) To display the graph (B) title( ) (II) To set the heading of the graph (C) show( ) (III) To set or get the current ticks location and labels (D) ticks( ) (IV) To set the title of y axes
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A) ylabel( ) | (I) To display the graph |
| (B) title( ) | (II) To set the heading of the graph |
| (C) show( ) | (III) To set or get the current ticks location and labels |
| (D) ticks( ) | (IV) To set the title of y axes |
Solution
✅ Correct Option: 3
| List I | List II |
|---|---|
| (A) ylabel( ) | (IV) To set the title of y axes |
| (B) title( ) | (II) To set the heading of the graph |
| (C) show( ) | (I) To display the graph |
| (D) ticks( ) | (III) To set or get the current ticks location and labels |
ylabel( ) names the y axis, while title( ) names the whole graph. Students often swap these two.
In Matplotlib, xticks( ) and yticks( ) are the functions that set or get tick locations and labels.
Related questions:
2025: 27 May Shift 2
2026: 21 May Shift 1
2025: 21 May Shift 1
2026: 24 May Shift 1
2026: 29 May Shift 1