Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DOC: Add docstrings to get_usetex and set_usetex in ticker.py #29642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 22, 2025

Conversation

star1327p
Copy link
Contributor

PR summary

DOC: Add docstrings to get_usetex and set_usetex in ticker.py.

get_usetex():
Return whether TeX's math mode is enabled for rendering.

set_usetex(val):
Set whether to use TeX's math mode for rendering the numbers in the formatter.

PR checklist

@rcomer
Copy link
Member

rcomer commented Feb 18, 2025

Thanks @star1327p! You might want to install the pre-commit hooks so you can catch those linting errors locally.

@star1327p
Copy link
Contributor Author

@rcomer Thank you for the suggestion! I have installed the pre-commit hooks locally.

Thanks @star1327p! You might want to install the pre-commit hooks so you can catch those linting errors locally.

lib/matplotlib/ticker.py Outdated Show resolved Hide resolved
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
@timhoffm timhoffm added the Documentation: API files in lib/ and doc/api label Feb 22, 2025
@timhoffm timhoffm added this to the v3.10.1 milestone Feb 22, 2025
@timhoffm timhoffm merged commit 9130caf into matplotlib:main Feb 22, 2025
39 of 42 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Feb 22, 2025
timhoffm added a commit that referenced this pull request Feb 22, 2025
…642-on-v3.10.x

Backport PR #29642 on branch v3.10.x (DOC: Add docstrings to get_usetex and set_usetex in ticker.py)
@ksunden ksunden mentioned this pull request Mar 3, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.