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

Commit b9e62ad

Browse filesBrowse files
authored
Merge pull request #29664 from meeseeksmachine/auto-backport-of-pr-29642-on-v3.10.x
Backport PR #29642 on branch v3.10.x (DOC: Add docstrings to get_usetex and set_usetex in ticker.py)
2 parents af1366c + af95fef commit b9e62ad
Copy full SHA for b9e62ad

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎lib/matplotlib/ticker.py

Copy file name to clipboardExpand all lines: lib/matplotlib/ticker.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,9 +465,11 @@ def __init__(self, useOffset=None, useMathText=None, useLocale=None, *,
465465
self.set_useLocale(useLocale)
466466

467467
def get_usetex(self):
468+
"""Return whether TeX's math mode is enabled for rendering."""
468469
return self._usetex
469470

470471
def set_usetex(self, val):
472+
"""Set whether to use TeX's math mode for rendering numbers in the formatter."""
471473
self._usetex = mpl._val_or_rc(val, 'text.usetex')
472474

473475
usetex = property(fget=get_usetex, fset=set_usetex)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.