Snippets tagged “axes”
2 snippets use this tag.
- Changing the tick frequency on the x or y axisPython
In matplotlib, you can change the tick frequency on the x or y axis of a plot by using the set_xticks() or set_yticks() method of the Axes class.
- How to set the y-axis limitPython
In matplotlib, you can set the limit of the y-axis of a plot by using the set_ylim() method of the Axes class.