______ and _____ governs the values displayed on the x and y-axis.
______ and _____ governs the values displayed on the x and y-axis.
Solution
✅ Correct Option: 3
In Matplotlib, xticks() and yticks() set the tick positions on the x and y axes, and optionally their labels. These tick marks are the values shown along each axis, so they control what is displayed.
Option 1: xlabel() and ylabel() set the axis titles (the text describing the axis), not the values on it.
Option 2: xlim() and ylim() set the range (lower and upper limits) of the axis, not which values are shown.
Related questions:
2026: 18 May Shift 2
2026: 20 May Shift 1
2026: 19 May Shift 1
2025: 27 May Shift 2