MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_usetex

Method set_usetex

lib/matplotlib/text.py:1493–1502  ·  view source on GitHub ↗

Parameters ---------- usetex : bool or None Whether to render using TeX, ``None`` means to use :rc:`text.usetex`.

(self, usetex)

Source from the content-addressed store, hash-verified

1491
1492 @_docstring.kwarg_doc("bool, default: :rc:`text.usetex`")
1493 def set_usetex(self, usetex):
1494 """
1495 Parameters
1496 ----------
1497 usetex : bool or None
1498 Whether to render using TeX, ``None`` means to use
1499 :rc:`text.usetex`.
1500 """
1501 self._usetex = bool(mpl._val_or_rc(usetex, 'text.usetex'))
1502 self.stale = True
1503
1504 def get_usetex(self):
1505 """Return whether this `Text` object uses TeX for rendering."""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected