You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
<divid="unreleased-message"> You are reading an old version of the documentation (v1.4.1). For the latest version see <ahref="https://matplotlib.org/stable/api/mathtext_api.html">https://matplotlib.org/stable/api/mathtext_api.html</a></div>
<areashape="rect" id="node1" href="#matplotlib.mathtext.Accent" title="The font metrics need to be dealt with differently for accents," alt="" coords="392,361,453,382"/>
<areashape="rect" id="node2" href="#matplotlib.mathtext.Char" title="Represents a single character.  Unlike TeX, the font information" alt="" coords="202,403,264,424"/>
<areashape="rect" id="node3" href="#matplotlib.mathtext.AutoHeightChar" title=":class:`AutoHeightChar` will create a character as close to the" alt="" coords="655,319,761,340"/>
<areashape="rect" id="node4" href="#matplotlib.mathtext.Hlist" title="A horizontal list of boxes." alt="" coords="545,403,607,424"/>
<areashape="rect" id="node5" href="#matplotlib.mathtext.AutoWidthChar" title=":class:`AutoWidthChar` will create a character as close to the" alt="" coords="658,361,758,382"/>
<areashape="rect" id="node16" href="#matplotlib.mathtext.HCentered" title="A convenience class to create an :class:`Hlist` whose contents are" alt="" coords="669,403,746,424"/>
<areashape="rect" id="node42" href="#matplotlib.mathtext.SubSuperCluster" title=":class:`SubSuperCluster` is a sort of hack to get around that fact" alt="" coords="652,445,763,466"/>
<areashape="rect" id="node43" href="#matplotlib.mathtext.VCentered" title="A convenience class to create a :class:`Vlist` whose contents are" alt="" coords="669,487,746,508"/>
<areashape="rect" id="node6" href="#matplotlib.mathtext.BakomaFonts" title="Use the Bakoma TrueType fonts for rendering." alt="" coords="375,235,470,256"/>
<areashape="rect" id="node7" href="#matplotlib.mathtext.TruetypeFonts" title="A generic base class for all font setups that use Truetype fonts" alt="" coords="186,256,280,278"/>
<areashape="rect" id="node40" href="#matplotlib.mathtext.UnicodeFonts" title="An abstract base class for handling Unicode fonts." alt="" coords="376,277,469,298"/>
<areashape="rect" id="node8" href="#matplotlib.mathtext.Box" title="Represents any node with a physical location." alt="" coords="202,487,264,508"/>
<areashape="rect" id="node17" href="#matplotlib.mathtext.Hbox" title="A box with only width (zero height and depth)." alt="" coords="392,403,453,424"/>
<areashape="rect" id="node18" href="#matplotlib.mathtext.List" title="A list of nodes (either horizontal or vertical)." alt="" coords="392,445,453,466"/>
<areashape="rect" id="node20" href="#matplotlib.mathtext.Rule" title="A :class:`Rule` node stands for a solid black rectangle; it has" alt="" coords="392,487,453,508"/>
<areashape="rect" id="node44" href="#matplotlib.mathtext.Vbox" title="A box with only height (zero width)." alt="" coords="392,529,453,550"/>
<areashape="rect" id="node9" href="#matplotlib.mathtext.Node" title="A node in the TeX box model" alt="" coords="32,571,93,592"/>
<areashape="rect" id="node11" href="#matplotlib.mathtext.Glue" title="Most of the information in this object is stored in the underlying" alt="" coords="202,655,264,677"/>
<areashape="rect" id="node21" href="#matplotlib.mathtext.Kern" title="A :class:`Kern` node has a width field to specify a (normally" alt="" coords="202,697,264,719"/>
<areashape="rect" id="node14" href="#matplotlib.mathtext.Fonts" title="An abstract base class for a system of fonts to use for mathtext." alt="" coords="32,288,93,310"/>
<areashape="rect" id="node38" href="#matplotlib.mathtext.StandardPsFonts" title="Use the standard postscript fonts for rendering to backend_ps" alt="" coords="177,298,289,320"/>
<areashape="rect" id="node45" href="#matplotlib.mathtext.Vlist" title="A vertical list of boxes." alt="" coords="545,445,607,466"/>
<areashape="rect" id="node19" href="#matplotlib.mathtext.Hrule" title="Convenience class to create a horizontal rule." alt="" coords="545,487,607,508"/>
<areashape="rect" id="node46" href="#matplotlib.mathtext.Vrule" title="Convenience class to create a vertical rule." alt="" coords="545,529,607,550"/>
<areashape="rect" id="node24" href="#matplotlib.mathtext.MathtextBackend" title="The base class for the mathtext backend-specific code.  The" alt="" coords="5,110,120,131"/>
<areashape="rect" id="node25" href="#matplotlib.mathtext.MathtextBackendAgg" title="Render glyphs and rectangles to an FTImage buffer, which is later" alt="" coords="165,4,300,26"/>
<areashape="rect" id="node27" href="#matplotlib.mathtext.MathtextBackendCairo" title="Store information to write a mathtext rendering to the Cairo" alt="" coords="162,46,304,68"/>
<areashape="rect" id="node28" href="#matplotlib.mathtext.MathtextBackendPath" title="Store information to write a mathtext rendering to the text path" alt="" coords="164,88,302,110"/>
<areashape="rect" id="node29" href="#matplotlib.mathtext.MathtextBackendPdf" title="Store information to write a mathtext rendering to the PDF" alt="" coords="167,130,299,152"/>
<areashape="rect" id="node30" href="#matplotlib.mathtext.MathtextBackendPs" title="Store information to write a mathtext rendering to the PostScript" alt="" coords="169,172,297,194"/>
<areashape="rect" id="node31" href="#matplotlib.mathtext.MathtextBackendSvg" title="Store information to write a mathtext rendering to the SVG" alt="" coords="165,214,300,236"/>
<areashape="rect" id="node35" href="#matplotlib.mathtext.Parser" title="This is the pyparsing-based parser for math expressions.  It" alt="" coords="32,68,93,89"/>
<areashape="rect" id="node36" href="#matplotlib.mathtext.Ship" title="Once the boxes have been set up, this sends them to output.  Since" alt="" coords="32,26,93,47"/>
<areashape="rect" id="node39" href="#matplotlib.mathtext.StixFonts" title="A font handling class for the STIX fonts." alt="" coords="541,277,611,298"/>
<areashape="rect" id="node41" href="#matplotlib.mathtext.StixSansFonts" title="A font handling class for the STIX fonts (that uses sans-serif" alt="" coords="660,277,756,298"/>
<spanid="matplotlib-mathtext"></span><h2><aclass="reference internal" href="#module-matplotlib.mathtext" title="matplotlib.mathtext"><codeclass="xref py py-mod docutils literal"><spanclass="pre">matplotlib.mathtext</span></code></a><aclass="headerlink" href="#module-matplotlib.mathtext" title="Permalink to this headline">¶</a></h2>
<p><aclass="reference internal" href="#module-matplotlib.mathtext" title="matplotlib.mathtext"><codeclass="xref py py-mod docutils literal"><spanclass="pre">mathtext</span></code></a> is a module for parsing a subset of the
TeX math syntax and drawing them to a matplotlib backend.</p>
<p>For a tutorial of its usage see <aclass="reference internal" href="../users/mathtext.html#mathtext-tutorial"><em>Writing mathematical expressions</em></a>. This
document is primarily concerned with implementation details.</p>
<p>The module uses <aclass="reference external" href="http://pyparsing.wikispaces.com/">pyparsing</a> to parse the TeX expression.</p>
<p>The Bakoma distribution of the TeX Computer Modern fonts, and STIX
fonts are supported. There is experimental support for using
arbitrary fonts, but results may vary without proper tweaking and
metrics for those fonts.</p>
<p>If you find TeX expressions that don’t parse or render properly,
please email <aclass="reference external" href="mailto:mdroe%40stsci.edu">mdroe<span>@</span>stsci<span>.</span>edu</a>, but please check KNOWN ISSUES below first.</p>
<dlclass="class">
<dtid="matplotlib.mathtext.Accent">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Accent</code><spanclass="sig-paren">(</span><em>c</em>, <em>state</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Accent" title="Permalink to this definition">¶</a></dt>
<p>The font metrics need to be dealt with differently for accents,
since they are already offset correctly from the baseline in
TrueType fonts.</p>
<dlclass="method">
<dtid="matplotlib.mathtext.Accent.grow">
<codeclass="descname">grow</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Accent.grow" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Accent.render">
<codeclass="descname">render</code><spanclass="sig-paren">(</span><em>x</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Accent.render" title="Permalink to this definition">¶</a></dt>
<dd><p>Render the character to the canvas.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Accent.shrink">
<codeclass="descname">shrink</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Accent.shrink" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.AutoHeightChar">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">AutoHeightChar</code><spanclass="sig-paren">(</span><em>c</em>, <em>height</em>, <em>depth</em>, <em>state</em>, <em>always=False</em>, <em>factor=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.AutoHeightChar" title="Permalink to this definition">¶</a></dt>
<p><aclass="reference internal" href="#matplotlib.mathtext.AutoHeightChar" title="matplotlib.mathtext.AutoHeightChar"><codeclass="xref py py-class docutils literal"><spanclass="pre">AutoHeightChar</span></code></a> will create a character as close to the
given height and depth as possible. When using a font with
multiple height versions of some characters (such as the BaKoMa
fonts), the correct glyph will be selected, otherwise this will
always just return a scaled version of the glyph.</p>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.AutoWidthChar">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">AutoWidthChar</code><spanclass="sig-paren">(</span><em>c</em>, <em>width</em>, <em>state</em>, <em>always=False</em>, <em>char_class=<class 'matplotlib.mathtext.Char'></em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.AutoWidthChar" title="Permalink to this definition">¶</a></dt>
<p><aclass="reference internal" href="#matplotlib.mathtext.AutoWidthChar" title="matplotlib.mathtext.AutoWidthChar"><codeclass="xref py py-class docutils literal"><spanclass="pre">AutoWidthChar</span></code></a> will create a character as close to the
given width as possible. When using a font with multiple width
versions of some characters (such as the BaKoMa fonts), the
correct glyph will be selected, otherwise this will always just
return a scaled version of the glyph.</p>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.BakomaFonts">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">BakomaFonts</code><spanclass="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.BakomaFonts" title="Permalink to this definition">¶</a></dt>
<p>Use the Bakoma TrueType fonts for rendering.</p>
<p>Symbols are strewn about a number of font files, each of which has
its own proprietary 8-bit encoding.</p>
<dlclass="attribute">
<dtid="matplotlib.mathtext.BakomaFonts.alias">
<codeclass="descname">alias</code><emclass="property"> = u'\\]'</em><aclass="headerlink" href="#matplotlib.mathtext.BakomaFonts.alias" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_sized_alternatives_for_symbol</code><spanclass="sig-paren">(</span><em>fontname</em>, <em>sym</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.BakomaFonts.get_sized_alternatives_for_symbol" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="attribute">
<dtid="matplotlib.mathtext.BakomaFonts.target">
<codeclass="descname">target</code><emclass="property"> = u']'</em><aclass="headerlink" href="#matplotlib.mathtext.BakomaFonts.target" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Box">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Box</code><spanclass="sig-paren">(</span><em>width</em>, <em>height</em>, <em>depth</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Box" title="Permalink to this definition">¶</a></dt>
<p>Represents any node with a physical location.</p>
<dlclass="method">
<dtid="matplotlib.mathtext.Box.grow">
<codeclass="descname">grow</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Box.grow" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Box.render">
<codeclass="descname">render</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Box.render" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Box.shrink">
<codeclass="descname">shrink</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Box.shrink" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Char">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Char</code><spanclass="sig-paren">(</span><em>c</em>, <em>state</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Char" title="Permalink to this definition">¶</a></dt>
<p>Represents a single character. Unlike TeX, the font information
and metrics are stored with each <aclass="reference internal" href="#matplotlib.mathtext.Char" title="matplotlib.mathtext.Char"><codeclass="xref py py-class docutils literal"><spanclass="pre">Char</span></code></a> to make it easier
to lookup the font metrics when needed. Note that TeX boxes have
a width, height, and depth, unlike Type1 and Truetype which use a
full bounding box and an advance in the x-direction. The metrics
must be converted to the TeX way, and the advance (if different
from width) must be converted into a <aclass="reference internal" href="#matplotlib.mathtext.Kern" title="matplotlib.mathtext.Kern"><codeclass="xref py py-class docutils literal"><spanclass="pre">Kern</span></code></a> node when the
<aclass="reference internal" href="#matplotlib.mathtext.Char" title="matplotlib.mathtext.Char"><codeclass="xref py py-class docutils literal"><spanclass="pre">Char</span></code></a> is added to its parent <aclass="reference internal" href="#matplotlib.mathtext.Hlist" title="matplotlib.mathtext.Hlist"><codeclass="xref py py-class docutils literal"><spanclass="pre">Hlist</span></code></a>.</p>
<dlclass="method">
<dtid="matplotlib.mathtext.Char.get_kerning">
<codeclass="descname">get_kerning</code><spanclass="sig-paren">(</span><em>next</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Char.get_kerning" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the amount of kerning between this and the given
character. Called when characters are strung together into
<codeclass="descname">grow</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Char.grow" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Char.is_slanted">
<codeclass="descname">is_slanted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Char.is_slanted" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Char.render">
<codeclass="descname">render</code><spanclass="sig-paren">(</span><em>x</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Char.render" title="Permalink to this definition">¶</a></dt>
<dd><p>Render the character to the canvas</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Char.shrink">
<codeclass="descname">shrink</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Char.shrink" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="function">
<dtid="matplotlib.mathtext.Error">
<codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Error</code><spanclass="sig-paren">(</span><em>msg</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Error" title="Permalink to this definition">¶</a></dt>
<dd><p>Helper class to raise parser errors.</p>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Fil">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Fil</code><aclass="headerlink" href="#matplotlib.mathtext.Fil" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Fill</code><aclass="headerlink" href="#matplotlib.mathtext.Fill" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Filll</code><aclass="headerlink" href="#matplotlib.mathtext.Filll" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Fonts</code><spanclass="sig-paren">(</span><em>default_font_prop</em>, <em>mathtext_backend</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts" title="Permalink to this definition">¶</a></dt>
<p>An abstract base class for a system of fonts to use for mathtext.</p>
<p>The class must be able to take symbol keys and font file names and
return the character metrics. It also delegates to a backend class
to do the actual drawing.</p>
<p><em>default_font_prop</em>: A
<aclass="reference internal" href="font_manager_api.html#matplotlib.font_manager.FontProperties" title="matplotlib.font_manager.FontProperties"><codeclass="xref py py-class docutils literal"><spanclass="pre">FontProperties</span></code></a> object to use
for the default non-math font, or the base font for Unicode
(generic) font rendering.</p>
<p><em>mathtext_backend</em>: A subclass of <codeclass="xref py py-class docutils literal"><spanclass="pre">MathTextBackend</span></code>
used to delegate the actual rendering.</p>
<dlclass="method">
<dtid="matplotlib.mathtext.Fonts.destroy">
<codeclass="descname">destroy</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.destroy" title="Permalink to this definition">¶</a></dt>
<dd><p>Fix any cyclical references before the object is about
to be destroyed.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Fonts.get_kern">
<codeclass="descname">get_kern</code><spanclass="sig-paren">(</span><em>font1</em>, <em>fontclass1</em>, <em>sym1</em>, <em>fontsize1</em>, <em>font2</em>, <em>fontclass2</em>, <em>sym2</em>, <em>fontsize2</em>, <em>dpi</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.get_kern" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the kerning distance for font between <em>sym1</em> and <em>sym2</em>.</p>
<p><em>symX</em>: a symbol in raw TeX form. e.g., ‘1’, ‘x’ or ‘sigma’</p>
<p><em>fontsizeX</em>: the fontsize in points</p>
<p><em>dpi</em>: the current dots-per-inch</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Fonts.get_metrics">
<codeclass="descname">get_metrics</code><spanclass="sig-paren">(</span><em>font</em>, <em>font_class</em>, <em>sym</em>, <em>fontsize</em>, <em>dpi</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.get_metrics" title="Permalink to this definition">¶</a></dt>
<dd><p><em>font</em>: one of the TeX font names:</p>
<p><em>sym</em>: a symbol in raw TeX form. e.g., ‘1’, ‘x’ or ‘sigma’</p>
<p><em>fontsize</em>: font size in points</p>
<p><em>dpi</em>: current dots-per-inch</p>
<p>Returns an object with the following attributes:</p>
<blockquote>
<div><ulclass="simple">
<li><em>advance</em>: The advance distance (in points) of the glyph.</li>
<li><em>height</em>: The height of the glyph in points.</li>
<li><em>width</em>: The width of the glyph in points.</li>
<li><em>xmin</em>, <em>xmax</em>, <em>ymin</em>, <em>ymax</em> - the ink rectangle of the glyph</li>
<li><em>iceberg</em> - the distance from the baseline to the top of
the glyph. This corresponds to TeX’s definition of
“height”.</li>
</ul>
</div></blockquote>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Fonts.get_results">
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.get_results" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the data needed by the backend to render the math
expression. The return value is backend-specific.</p>
<codeclass="descname">get_sized_alternatives_for_symbol</code><spanclass="sig-paren">(</span><em>fontname</em>, <em>sym</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.get_sized_alternatives_for_symbol" title="Permalink to this definition">¶</a></dt>
<dd><p>Override if your font provides multiple sizes of the same
symbol. Should return a list of symbols matching <em>sym</em> in
various sizes. The expression renderer will select the most
appropriate size for a given situation from this list.</p>
<codeclass="descname">get_underline_thickness</code><spanclass="sig-paren">(</span><em>font</em>, <em>fontsize</em>, <em>dpi</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.get_underline_thickness" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the line thickness that matches the given font. Used as a
base unit for drawing lines such as in a fraction or radical.</p>
<codeclass="descname">get_used_characters</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.get_used_characters" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the set of characters that were used in the math
expression. Used by backends that need to subset fonts so
they know which glyphs to include.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Fonts.get_xheight">
<codeclass="descname">get_xheight</code><spanclass="sig-paren">(</span><em>font</em>, <em>fontsize</em>, <em>dpi</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.get_xheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the xheight for the given <em>font</em> and <em>fontsize</em>.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Fonts.render_glyph">
<codeclass="descname">render_glyph</code><spanclass="sig-paren">(</span><em>ox</em>, <em>oy</em>, <em>facename</em>, <em>font_class</em>, <em>sym</em>, <em>fontsize</em>, <em>dpi</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.render_glyph" title="Permalink to this definition">¶</a></dt>
<dd><p>Draw a glyph at</p>
<blockquote>
<div><ulclass="simple">
<li><em>ox</em>, <em>oy</em>: position</li>
<li><em>facename</em>: One of the TeX face names</li>
<li><em>font_class</em>:</li>
<li><em>sym</em>: TeX symbol name or single character</li>
<codeclass="descname">render_rect_filled</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.render_rect_filled" title="Permalink to this definition">¶</a></dt>
<dd><p>Draw a filled rectangle from (<em>x1</em>, <em>y1</em>) to (<em>x2</em>, <em>y2</em>).</p>
<codeclass="descname">set_canvas_size</code><spanclass="sig-paren">(</span><em>w</em>, <em>h</em>, <em>d</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Fonts.set_canvas_size" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the size of the buffer used to render the math expression.
Only really necessary for the bitmap backends.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Glue">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Glue</code><spanclass="sig-paren">(</span><em>glue_type</em>, <em>copy=False</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Glue" title="Permalink to this definition">¶</a></dt>
<p>Most of the information in this object is stored in the underlying
<aclass="reference internal" href="#matplotlib.mathtext.GlueSpec" title="matplotlib.mathtext.GlueSpec"><codeclass="xref py py-class docutils literal"><spanclass="pre">GlueSpec</span></code></a> class, which is shared between multiple glue objects. (This
is a memory optimization which probably doesn’t matter anymore, but it’s
easier to stick to what TeX does.)</p>
<dlclass="method">
<dtid="matplotlib.mathtext.Glue.grow">
<codeclass="descname">grow</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Glue.grow" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Glue.shrink">
<codeclass="descname">shrink</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Glue.shrink" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.GlueSpec">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">GlueSpec</code><spanclass="sig-paren">(</span><em>width=0.0</em>, <em>stretch=0.0</em>, <em>stretch_order=0</em>, <em>shrink=0.0</em>, <em>shrink_order=0</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.GlueSpec" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">copy</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.GlueSpec.copy" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="classmethod">
<dtid="matplotlib.mathtext.GlueSpec.factory">
<emclass="property">classmethod </em><codeclass="descname">factory</code><spanclass="sig-paren">(</span><em>glue_type</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.GlueSpec.factory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.HCentered">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">HCentered</code><spanclass="sig-paren">(</span><em>elements</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.HCentered" title="Permalink to this definition">¶</a></dt>
<p>A convenience class to create an <aclass="reference internal" href="#matplotlib.mathtext.Hlist" title="matplotlib.mathtext.Hlist"><codeclass="xref py py-class docutils literal"><spanclass="pre">Hlist</span></code></a> whose contents are
centered within its enclosing box.</p>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Hbox">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Hbox</code><spanclass="sig-paren">(</span><em>width</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Hbox" title="Permalink to this definition">¶</a></dt>
<p>A box with only width (zero height and depth).</p>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Hlist">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Hlist</code><spanclass="sig-paren">(</span><em>elements</em>, <em>w=0.0</em>, <em>m=u'additional'</em>, <em>do_kern=True</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Hlist" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">hpack</code><spanclass="sig-paren">(</span><em>w=0.0</em>, <em>m=u'additional'</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Hlist.hpack" title="Permalink to this definition">¶</a></dt>
<dd><p>The main duty of <aclass="reference internal" href="#matplotlib.mathtext.Hlist.hpack" title="matplotlib.mathtext.Hlist.hpack"><codeclass="xref py py-meth docutils literal"><spanclass="pre">hpack()</span></code></a> is to compute the dimensions of
the resulting boxes, and to adjust the glue if one of those
dimensions is pre-specified. The computed sizes normally
enclose all of the material inside the new box; but some items
may stick out if negative glue is used, if the box is
overfull, or if a <codeclass="docutils literal"><spanclass="pre">\vbox</span></code> includes other boxes that have
been shifted left.</p>
<blockquote>
<div><ulclass="simple">
<li><em>w</em>: specifies a width</li>
<li><em>m</em>: is either ‘exactly’ or ‘additional’.</li>
</ul>
</div></blockquote>
<p>Thus, <codeclass="docutils literal"><spanclass="pre">hpack(w,</span><spanclass="pre">'exactly')</span></code> produces a box whose width is
exactly <em>w</em>, while <codeclass="docutils literal"><spanclass="pre">hpack(w,</span><spanclass="pre">'additional')</span></code> yields a box
whose width is the natural width plus <em>w</em>. The default values
produce a box with the natural width.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Hlist.kern">
<codeclass="descname">kern</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Hlist.kern" title="Permalink to this definition">¶</a></dt>
<dd><p>Insert <aclass="reference internal" href="#matplotlib.mathtext.Kern" title="matplotlib.mathtext.Kern"><codeclass="xref py py-class docutils literal"><spanclass="pre">Kern</span></code></a> nodes between <aclass="reference internal" href="#matplotlib.mathtext.Char" title="matplotlib.mathtext.Char"><codeclass="xref py py-class docutils literal"><spanclass="pre">Char</span></code></a> nodes to set
kerning. The <aclass="reference internal" href="#matplotlib.mathtext.Char" title="matplotlib.mathtext.Char"><codeclass="xref py py-class docutils literal"><spanclass="pre">Char</span></code></a> nodes themselves determine the
amount of kerning they need (in <aclass="reference internal" href="#matplotlib.mathtext.Char.get_kerning" title="matplotlib.mathtext.Char.get_kerning"><codeclass="xref py py-meth docutils literal"><spanclass="pre">get_kerning()</span></code></a>),
and this function just creates the linked list in the correct
way.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Hrule">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Hrule</code><spanclass="sig-paren">(</span><em>state</em>, <em>thickness=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Hrule" title="Permalink to this definition">¶</a></dt>
<p>Convenience class to create a horizontal rule.</p>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Kern">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Kern</code><spanclass="sig-paren">(</span><em>width</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Kern" title="Permalink to this definition">¶</a></dt>
<p>A <aclass="reference internal" href="#matplotlib.mathtext.Kern" title="matplotlib.mathtext.Kern"><codeclass="xref py py-class docutils literal"><spanclass="pre">Kern</span></code></a> node has a width field to specify a (normally
negative) amount of spacing. This spacing correction appears in
horizontal lists between letters like A and V when the font
designer said that it looks better to move them closer together or
further apart. A kern node can also appear in a vertical list,
when its <em>width</em> denotes additional spacing in the vertical
direction.</p>
<dlclass="attribute">
<dtid="matplotlib.mathtext.Kern.depth">
<codeclass="descname">depth</code><emclass="property"> = 0</em><aclass="headerlink" href="#matplotlib.mathtext.Kern.depth" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Kern.grow">
<codeclass="descname">grow</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Kern.grow" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="attribute">
<dtid="matplotlib.mathtext.Kern.height">
<codeclass="descname">height</code><emclass="property"> = 0</em><aclass="headerlink" href="#matplotlib.mathtext.Kern.height" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Kern.shrink">
<codeclass="descname">shrink</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Kern.shrink" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.List">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">List</code><spanclass="sig-paren">(</span><em>elements</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.List" title="Permalink to this definition">¶</a></dt>
<p>A list of nodes (either horizontal or vertical).</p>
<dlclass="method">
<dtid="matplotlib.mathtext.List.grow">
<codeclass="descname">grow</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.List.grow" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.List.shrink">
<codeclass="descname">shrink</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.List.shrink" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.MathTextParser">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathTextParser</code><spanclass="sig-paren">(</span><em>output</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathTextParser" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_depth</code><spanclass="sig-paren">(</span><em>texstr</em>, <em>dpi=120</em>, <em>fontsize=14</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathTextParser.get_depth" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the offset of the baseline from the bottom of the
<codeclass="descname">parse</code><spanclass="sig-paren">(</span><em>s</em>, <em>dpi=72</em>, <em>prop=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathTextParser.parse" title="Permalink to this definition">¶</a></dt>
<dd><p>Parse the given math expression <em>s</em> at the given <em>dpi</em>. If
<codeclass="descname">to_mask</code><spanclass="sig-paren">(</span><em>texstr</em>, <em>dpi=120</em>, <em>fontsize=14</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathTextParser.to_mask" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">to_png</code><spanclass="sig-paren">(</span><em>filename</em>, <em>texstr</em>, <em>color=u'black'</em>, <em>dpi=120</em>, <em>fontsize=14</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathTextParser.to_png" title="Permalink to this definition">¶</a></dt>
<dd><p>Writes a tex expression to a PNG file.</p>
<p>Returns the offset of the baseline from the bottom of the
<codeclass="descname">to_rgba</code><spanclass="sig-paren">(</span><em>texstr</em>, <em>color=u'black'</em>, <em>dpi=120</em>, <em>fontsize=14</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathTextParser.to_rgba" title="Permalink to this definition">¶</a></dt>
<p>Returns a tuple (<em>array</em>, <em>depth</em>)</p>
<blockquote>
<div><ulclass="simple">
<li><em>array</em> is an NxM uint8 alpha ubyte mask array of
rasterized tex.</li>
<li>depth is the offset of the baseline from the bottom of the
image in pixels.</li>
</ul>
</div></blockquote>
</dd></dl>
</dd></dl>
<dlclass="exception">
<dtid="matplotlib.mathtext.MathTextWarning">
<emclass="property">exception </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathTextWarning</code><aclass="headerlink" href="#matplotlib.mathtext.MathTextWarning" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathtextBackend</code><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackend" title="Permalink to this definition">¶</a></dt>
<p>The base class for the mathtext backend-specific code. The
purpose of <aclass="reference internal" href="#matplotlib.mathtext.MathtextBackend" title="matplotlib.mathtext.MathtextBackend"><codeclass="xref py py-class docutils literal"><spanclass="pre">MathtextBackend</span></code></a> subclasses is to interface
between mathtext and a specific matplotlib graphics backend.</p>
<codeclass="descname">get_hinting_type</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackend.get_hinting_type" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the Freetype hinting type to use with this particular
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackend.get_results" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a backend-specific tuple to return to the backend after
<codeclass="descname">render_filled_rect</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackend.render_filled_rect" title="Permalink to this definition">¶</a></dt>
<dd><p>Draw a filled black rectangle from (<em>x1</em>, <em>y1</em>) to (<em>x2</em>, <em>y2</em>).</p>
<codeclass="descname">render_glyph</code><spanclass="sig-paren">(</span><em>ox</em>, <em>oy</em>, <em>info</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackend.render_glyph" title="Permalink to this definition">¶</a></dt>
<dd><p>Draw a glyph described by <em>info</em> to the reference point (<em>ox</em>,
<codeclass="descname">set_canvas_size</code><spanclass="sig-paren">(</span><em>w</em>, <em>h</em>, <em>d</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackend.set_canvas_size" title="Permalink to this definition">¶</a></dt>
<dd><p>Dimension the drawing canvas</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.MathtextBackendAgg">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathtextBackendAgg</code><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendAgg" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_hinting_type</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendAgg.get_hinting_type" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em>, <em>used_characters</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendAgg.get_results" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_glyph</code><spanclass="sig-paren">(</span><em>ox</em>, <em>oy</em>, <em>info</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendAgg.render_glyph" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_rect_filled</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendAgg.render_rect_filled" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">set_canvas_size</code><spanclass="sig-paren">(</span><em>w</em>, <em>h</em>, <em>d</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendAgg.set_canvas_size" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathtextBackendBitmap</code><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendBitmap" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em>, <em>used_characters</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendBitmap.get_results" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.MathtextBackendCairo">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathtextBackendCairo</code><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendCairo" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em>, <em>used_characters</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendCairo.get_results" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_glyph</code><spanclass="sig-paren">(</span><em>ox</em>, <em>oy</em>, <em>info</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendCairo.render_glyph" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_rect_filled</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendCairo.render_rect_filled" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.MathtextBackendPath">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathtextBackendPath</code><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPath" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em>, <em>used_characters</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPath.get_results" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_glyph</code><spanclass="sig-paren">(</span><em>ox</em>, <em>oy</em>, <em>info</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPath.render_glyph" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_rect_filled</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPath.render_rect_filled" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.MathtextBackendPdf">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathtextBackendPdf</code><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPdf" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em>, <em>used_characters</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPdf.get_results" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_glyph</code><spanclass="sig-paren">(</span><em>ox</em>, <em>oy</em>, <em>info</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPdf.render_glyph" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_rect_filled</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPdf.render_rect_filled" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.MathtextBackendPs">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathtextBackendPs</code><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPs" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em>, <em>used_characters</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPs.get_results" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_glyph</code><spanclass="sig-paren">(</span><em>ox</em>, <em>oy</em>, <em>info</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPs.render_glyph" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_rect_filled</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendPs.render_rect_filled" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.MathtextBackendSvg">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">MathtextBackendSvg</code><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendSvg" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_results</code><spanclass="sig-paren">(</span><em>box</em>, <em>used_characters</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendSvg.get_results" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_glyph</code><spanclass="sig-paren">(</span><em>ox</em>, <em>oy</em>, <em>info</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendSvg.render_glyph" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">render_rect_filled</code><spanclass="sig-paren">(</span><em>x1</em>, <em>y1</em>, <em>x2</em>, <em>y2</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.MathtextBackendSvg.render_rect_filled" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.NegFil">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">NegFil</code><aclass="headerlink" href="#matplotlib.mathtext.NegFil" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">NegFill</code><aclass="headerlink" href="#matplotlib.mathtext.NegFill" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">NegFilll</code><aclass="headerlink" href="#matplotlib.mathtext.NegFilll" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Node</code><aclass="headerlink" href="#matplotlib.mathtext.Node" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_kerning</code><spanclass="sig-paren">(</span><em>next</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Node.get_kerning" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Node.grow">
<codeclass="descname">grow</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Node.grow" title="Permalink to this definition">¶</a></dt>
<dd><p>Grows one level larger. There is no limit to how big
something can get.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Node.render">
<codeclass="descname">render</code><spanclass="sig-paren">(</span><em>x</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Node.render" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.mathtext.Node.shrink">
<codeclass="descname">shrink</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.mathtext.Node.shrink" title="Permalink to this definition">¶</a></dt>
<dd><p>Shrinks one level smaller. There are only three levels of
sizes, after which things will no longer get smaller.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.mathtext.Parser">
<emclass="property">class </em><codeclass="descclassname">matplotlib.mathtext.</code><codeclass="descname">Parser</code><aclass="headerlink" href="#matplotlib.mathtext.Parser" title="Permalink to this definition">¶</a></dt>