<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">FigureCanvas</code><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureCanvas" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">FigureCanvasPgf</code><spanclass="sig-paren">(</span><em>figure</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureCanvasPgf" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_default_filetype</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureCanvasPgf.get_default_filetype" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the default savefig file format as specified in rcParam
<codeclass="docutils literal notranslate"><spanclass="pre">savefig.format</span></code>. Returned string excludes period. Overridden
in backends that only support a single file type.</p>
<codeclass="descname">get_renderer</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureCanvasPgf.get_renderer" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">print_pdf</code><spanclass="sig-paren">(</span><em>fname_or_fh</em>, <em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureCanvasPgf.print_pdf" title="Permalink to this definition">¶</a></dt>
<dd><p>Use LaTeX to compile a Pgf generated figure to PDF.</p>
<codeclass="descname">print_pgf</code><spanclass="sig-paren">(</span><em>fname_or_fh</em>, <em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureCanvasPgf.print_pgf" title="Permalink to this definition">¶</a></dt>
<dd><p>Output pgf commands for drawing the figure so it can be included and
<codeclass="descname">print_png</code><spanclass="sig-paren">(</span><em>fname_or_fh</em>, <em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureCanvasPgf.print_png" title="Permalink to this definition">¶</a></dt>
<dd><p>Use LaTeX to compile a pgf figure to pdf and convert it to png.</p>
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">FigureManager</code><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureManager" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">FigureManagerPgf</code><spanclass="sig-paren">(</span><em>*args</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.FigureManagerPgf" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">GraphicsContextPgf</code><aclass="headerlink" href="#matplotlib.backends.backend_pgf.GraphicsContextPgf" title="Permalink to this definition">¶</a></dt>
<emclass="property">exception </em><codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">LatexError</code><spanclass="sig-paren">(</span><em>message</em>, <em>latex_output=''</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.LatexError" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">LatexManager</code><aclass="headerlink" href="#matplotlib.backends.backend_pgf.LatexManager" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_width_height_descent</code><spanclass="sig-paren">(</span><em>text</em>, <em>prop</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.LatexManager.get_width_height_descent" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the width, total height and descent for a text typesetted by the
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">LatexManagerFactory</code><aclass="headerlink" href="#matplotlib.backends.backend_pgf.LatexManagerFactory" title="Permalink to this definition">¶</a></dt>
<emclass="property">static </em><codeclass="descname">get_latex_manager</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.LatexManagerFactory.get_latex_manager" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">previous_instance</code><emclass="property"> = None</em><aclass="headerlink" href="#matplotlib.backends.backend_pgf.LatexManagerFactory.previous_instance" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">RendererPgf</code><spanclass="sig-paren">(</span><em>figure</em>, <em>fh</em>, <em>dummy=False</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">draw_image</code><spanclass="sig-paren">(</span><em>gc</em>, <em>x</em>, <em>y</em>, <em>im</em>, <em>transform=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.draw_image" title="Permalink to this definition">¶</a></dt>
transformation <em>may</em> be passed to <aclass="reference internal" href="#matplotlib.backends.backend_pgf.RendererPgf.draw_image" title="matplotlib.backends.backend_pgf.RendererPgf.draw_image"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">draw_image()</span></code></a>. It takes the
form of a <aclass="reference internal" href="transformations.html#matplotlib.transforms.Affine2DBase" title="matplotlib.transforms.Affine2DBase"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Affine2DBase</span></code></a> instance.
The translation vector of the transformation is given in physical
units (i.e., dots or pixels). Note that the transformation does not
override <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">x</span></code> and <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">y</span></code>, and has to be applied <em>before</em> translating
the result by <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">x</span></code> and <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">y</span></code> (this can be accomplished by adding <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">x</span></code>
and <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">y</span></code> to the translation vector defined by <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">transform</span></code>).</p>
<codeclass="descname">draw_markers</code><spanclass="sig-paren">(</span><em>gc</em>, <em>marker_path</em>, <em>marker_trans</em>, <em>path</em>, <em>trans</em>, <em>rgbFace=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.draw_markers" title="Permalink to this definition">¶</a></dt>
<dd><p>Draws a marker at each of the vertices in path. This includes
all vertices, including control points on curves. To avoid
that behavior, those vertices should be removed before calling
this function.</p>
<p>This provides a fallback implementation of draw_markers that
makes multiple calls to <aclass="reference internal" href="#matplotlib.backends.backend_pgf.RendererPgf.draw_path" title="matplotlib.backends.backend_pgf.RendererPgf.draw_path"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">draw_path()</span></code></a>. Some backends may
want to override this method in order to draw the marker only
<codeclass="descname">draw_path</code><spanclass="sig-paren">(</span><em>gc</em>, <em>path</em>, <em>transform</em>, <em>rgbFace=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.draw_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Draws a <aclass="reference internal" href="path_api.html#matplotlib.path.Path" title="matplotlib.path.Path"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Path</span></code></a> instance using the
<codeclass="descname">flipy</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.flipy" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true if y small numbers are top for renderer Is used
for drawing text (<aclass="reference internal" href="text_api.html#module-matplotlib.text" title="matplotlib.text"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">matplotlib.text</span></code></a>) and images
<codeclass="descname">get_canvas_width_height</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.get_canvas_width_height" title="Permalink to this definition">¶</a></dt>
<dd><p>return the canvas width and height in display coords</p>
<codeclass="descname">get_text_width_height_descent</code><spanclass="sig-paren">(</span><em>s</em>, <em>prop</em>, <em>ismath</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.get_text_width_height_descent" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the width, height, and descent (offset from the bottom
to the baseline), in display coords, of the string <em>s</em> with
<codeclass="descname">new_gc</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.new_gc" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an instance of a <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">GraphicsContextBase</span></code></p>
<codeclass="descname">option_image_nocomposite</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.option_image_nocomposite" title="Permalink to this definition">¶</a></dt>
<dd><p>return whether to generate a composite image from multiple images on
<codeclass="descname">option_scale_image</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.option_scale_image" title="Permalink to this definition">¶</a></dt>
<dd><p>pgf backend supports affine transform of image.</p>
<codeclass="descname">points_to_pixels</code><spanclass="sig-paren">(</span><em>points</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.RendererPgf.points_to_pixels" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert points to display units</p>
<p>You need to override this function (unless your backend
doesn’t have a dpi, e.g., postscript or svg). Some imaging
systems assume some value for pixels per inch:</p>
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">TmpDirCleaner</code><aclass="headerlink" href="#matplotlib.backends.backend_pgf.TmpDirCleaner" title="Permalink to this definition">¶</a></dt>
<emclass="property">static </em><codeclass="descname">add</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.TmpDirCleaner.add" title="Permalink to this definition">¶</a></dt>
<emclass="property">static </em><codeclass="descname">cleanup_remaining_tmpdirs</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.TmpDirCleaner.cleanup_remaining_tmpdirs" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">remaining_tmpdirs</code><emclass="property"> = set()</em><aclass="headerlink" href="#matplotlib.backends.backend_pgf.TmpDirCleaner.remaining_tmpdirs" title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">common_texification</code><spanclass="sig-paren">(</span><em>text</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.common_texification" title="Permalink to this definition">¶</a></dt>
<dd><p>Do some necessary and/or useful substitutions for texts to be included in
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">get_fontspec</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.get_fontspec" title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">get_preamble</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.get_preamble" title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">get_texcommand</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.get_texcommand" title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">make_pdf_to_png_converter</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.make_pdf_to_png_converter" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a function that converts a pdf file to a png file.</p>
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">repl_escapetext</code><spanclass="sig-paren">(</span><em>m</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.repl_escapetext" title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">repl_mathdefault</code><spanclass="sig-paren">(</span><em>m</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.repl_mathdefault" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="matplotlib.backends.backend_pgf.writeln">
<codeclass="descclassname">matplotlib.backends.backend_pgf.</code><codeclass="descname">writeln</code><spanclass="sig-paren">(</span><em>fh</em>, <em>line</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.backends.backend_pgf.writeln" title="Permalink to this definition">¶</a></dt>