Skip to content

Explain ephemeral nature of Tick instances#31712

Open
jayaprajapatii wants to merge 1 commit into
matplotlib:mainfrom
jayaprajapatii:explain-tick-ephemeral-nature
Open

Explain ephemeral nature of Tick instances#31712
jayaprajapatii wants to merge 1 commit into
matplotlib:mainfrom
jayaprajapatii:explain-tick-ephemeral-nature

Conversation

@jayaprajapatii
Copy link
Copy Markdown
Contributor

Closes #31697

Summary

Adds a short documentation section explaining the ephemeral nature of .axis.Tick instances and why .Axes.tick_params is generally preferred over modifying individual ticks directly.

The new section also mentions that direct modifications to individual tick Artists may not persist when ticks are regenerated.

Verification

  • Built the documentation locally with make html

@github-actions github-actions Bot added Documentation: examples files in galleries/examples Documentation: user guide files in galleries/users_explain or doc/users labels May 19, 2026
@jayaprajapatii jayaprajapatii force-pushed the explain-tick-ephemeral-nature branch from 4b686d7 to 27ac3ed Compare May 19, 2026 18:46
@github-actions github-actions Bot removed the Documentation: examples files in galleries/examples label May 19, 2026
@rcomer
Copy link
Copy Markdown
Member

rcomer commented May 19, 2026

I think this needs details about when ticks are regenerated. Then someone who does have a rare need to modify individual ticks can make sure to do so after the last (re)generation. Just telling them to be aware that things might change is not practical guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: user guide files in galleries/users_explain or doc/users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Doc]: Explain ephemal nature of ticks and tick_params vs. the properties of individual ticks

2 participants