Documentation Link
https://matplotlib.org/stable/tutorials/artists.html
Problem
This is a follow-up / replaces #25522.
The section on Axis containers and Tick containers focus very much on the object structure of Ticks. This sets wrong priorities / pushes users into the direction on working directly on the underlying ticks and their constituent artists. This is discouraged as ticks are ephemal and may change due to zooming resizing etc.
Suggested improvement
Either remove these sections altogether or rewrite them as background information how ticks are implemented, include a warning on direct manipulation, and encourage using high-level API tick_params, locators and formatters to control ticks.
Documentation Link
https://matplotlib.org/stable/tutorials/artists.html
Problem
This is a follow-up / replaces #25522.
The section on Axis containers and Tick containers focus very much on the object structure of Ticks. This sets wrong priorities / pushes users into the direction on working directly on the underlying ticks and their constituent artists. This is discouraged as ticks are ephemal and may change due to zooming resizing etc.
Suggested improvement
Either remove these sections altogether or rewrite them as background information how ticks are implemented, include a warning on direct manipulation, and encourage using high-level API
tick_params, locators and formatters to control ticks.