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 (v3.4.2). For the latest version see <ahref="https://matplotlib.org/stable/api/backend_pdf_api.html">https://matplotlib.org/stable/api/backend_pdf_api.html</a></div>
<codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">FigureCanvas</code><aclass="headerlink" href="#matplotlib.backends.backend_pdf.FigureCanvas" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">FigureCanvasPdf</code><spanclass="sig-paren">(</span><em><spanclass="n">figure</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#FigureCanvasPdf"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.FigureCanvasPdf" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">draw</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#FigureCanvasPdf.draw"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.FigureCanvasPdf.draw" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">fixed_dpi</code><emclass="property"> = 72</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.FigureCanvasPdf.fixed_dpi" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_default_filetype</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#FigureCanvasPdf.get_default_filetype"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.FigureCanvasPdf.get_default_filetype" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the default savefig file format as specified in
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">GraphicsContextPdf</code><spanclass="sig-paren">(</span><em><spanclass="n">file</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">capstyle_cmd</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">style</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.capstyle_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.capstyle_cmd" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">clip_cmd</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">cliprect</span></em>, <em><spanclass="n">clippath</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.clip_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.clip_cmd" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">copy_properties</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">other</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.copy_properties"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.copy_properties" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">dash_cmd</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">dashes</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.dash_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.dash_cmd" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">delta</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">other</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.delta"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.delta" title="Permalink to this definition">¶</a></dt>
<dd><p>Copy properties of other into self and return PDF commands
<codeclass="descname">fill</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="o">*</span><spanclass="n">args</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.fill"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.fill" title="Permalink to this definition">¶</a></dt>
<dd><p>Predicate: does the path need to be filled?</p>
<p>An optional argument can be used to specify an alternative
_fillcolor, as needed by RendererPdf.draw_markers.</p>
<codeclass="descname">fillcolor_cmd</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">rgb</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.fillcolor_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.fillcolor_cmd" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">finalize</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.finalize"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.finalize" title="Permalink to this definition">¶</a></dt>
<dd><p>Make sure every pushed graphics state is popped.</p>
<codeclass="descname">hatch_cmd</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">hatch</span></em>, <em><spanclass="n">hatch_color</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.hatch_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.hatch_cmd" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">joinstyle_cmd</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">style</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.joinstyle_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.joinstyle_cmd" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">linewidth_cmd</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">width</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.linewidth_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.linewidth_cmd" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">paint</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.paint"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.paint" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the appropriate pdf operator to cause the path to be
<codeclass="descname">pop</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.pop"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.pop" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">push</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.push"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.push" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">rgb_cmd</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">rgb</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.rgb_cmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.rgb_cmd" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">stroke</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#GraphicsContextPdf.stroke"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.GraphicsContextPdf.stroke" title="Permalink to this definition">¶</a></dt>
<dd><p>Predicate: does the path need to be stroked (its outline drawn)?
This tests for the various conditions that disable stroking
the path, in which case it would presumably be filled.</p>
</dd></dl>
</dd></dl>
<dlclass="py class">
<dtid="matplotlib.backends.backend_pdf.Name">
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">Name</code><spanclass="sig-paren">(</span><em><spanclass="n">name</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Name"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Name" title="Permalink to this definition">¶</a></dt>
<emclass="property">static </em><codeclass="descname">hexify</code><spanclass="sig-paren">(</span><em><spanclass="n">match</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Name.hexify"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Name.hexify" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">name</code><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Name.name" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">pdfRepr</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Name.pdfRepr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Name.pdfRepr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="py class">
<dtid="matplotlib.backends.backend_pdf.Op">
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">Op</code><spanclass="sig-paren">(</span><em><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Op"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">begin_text</code><emclass="property"> = (b'BT',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.begin_text" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="py attribute">
<dtid="matplotlib.backends.backend_pdf.Op.clip">
<codeclass="descname">clip</code><emclass="property"> = b'W'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.clip" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">close_fill_stroke</code><emclass="property"> = b'b'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.close_fill_stroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">close_stroke</code><emclass="property"> = b's'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.close_stroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">closepath</code><emclass="property"> = (b'h',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.closepath" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">concat_matrix</code><emclass="property"> = b'cm'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.concat_matrix" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">curveto</code><emclass="property"> = b'c'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.curveto" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">end_text</code><emclass="property"> = b'ET'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.end_text" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">endpath</code><emclass="property"> = b'n'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.endpath" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="py attribute">
<dtid="matplotlib.backends.backend_pdf.Op.fill">
<codeclass="descname">fill</code><emclass="property"> = b'f'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.fill" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">fill_stroke</code><emclass="property"> = b'B'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.fill_stroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">grestore</code><emclass="property"> = b'Q'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.grestore" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="py attribute">
<dtid="matplotlib.backends.backend_pdf.Op.gsave">
<codeclass="descname">gsave</code><emclass="property"> = (b'q',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.gsave" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">lineto</code><emclass="property"> = b'l'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.lineto" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">moveto</code><emclass="property"> = (b'm',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.moveto" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="py attribute">
<dtid="matplotlib.backends.backend_pdf.Op.op">
<codeclass="descname">op</code><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.op" title="Permalink to this definition">¶</a></dt>
<emclass="property">classmethod </em><codeclass="descname">paint_path</code><spanclass="sig-paren">(</span><em><spanclass="n">fill</span></em>, <em><spanclass="n">stroke</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Op.paint_path"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.paint_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the PDF operator to paint a path.</p>
<codeclass="descname">rectangle</code><emclass="property"> = b're'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.rectangle" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">selectfont</code><emclass="property"> = b'Tf'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.selectfont" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setcolor_nonstroke</code><emclass="property"> = b'scn'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setcolor_nonstroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setcolor_stroke</code><emclass="property"> = b'SCN'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setcolor_stroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setcolorspace_nonstroke</code><emclass="property"> = (b'cs',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setcolorspace_nonstroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setcolorspace_stroke</code><emclass="property"> = b'CS'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setcolorspace_stroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setdash</code><emclass="property"> = (b'd',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setdash" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setgray_nonstroke</code><emclass="property"> = b'g'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setgray_nonstroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setgray_stroke</code><emclass="property"> = (b'G',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setgray_stroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setgstate</code><emclass="property"> = b'gs'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setgstate" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setlinecap</code><emclass="property"> = b'J'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setlinecap" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setlinejoin</code><emclass="property"> = b'j'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setlinejoin" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setlinewidth</code><emclass="property"> = b'w'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setlinewidth" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setrgb_nonstroke</code><emclass="property"> = (b'rg',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setrgb_nonstroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">setrgb_stroke</code><emclass="property"> = b'RG'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.setrgb_stroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">shading</code><emclass="property"> = b'sh'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.shading" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="py attribute">
<dtid="matplotlib.backends.backend_pdf.Op.show">
<codeclass="descname">show</code><emclass="property"> = b'Tj'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.show" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">showkern</code><emclass="property"> = b'TJ'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.showkern" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">stroke</code><emclass="property"> = b'S'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.stroke" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">textmatrix</code><emclass="property"> = (b'Tm',)</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.textmatrix" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">textpos</code><emclass="property"> = b'Td'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.textpos" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">use_xobject</code><emclass="property"> = b'Do'</em><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Op.use_xobject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="py class">
<dtid="matplotlib.backends.backend_pdf.Operator">
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">Operator</code><spanclass="sig-paren">(</span><em><spanclass="n">op</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Operator"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Operator" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">op</code><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Operator.op" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">pdfRepr</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Operator.pdfRepr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Operator.pdfRepr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dlclass="py class">
<dtid="matplotlib.backends.backend_pdf.PdfFile">
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">PdfFile</code><spanclass="sig-paren">(</span><em><spanclass="n">filename</span></em>, <em><spanclass="n">metadata</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile" title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>filename</strong><spanclass="classifier">str or path-like or file-like</span></dt><dd><p>Output target; if a string, a file will be opened for writing.</p>
</dd>
<dt><strong>metadata</strong><spanclass="classifier">dict from strings to strings and dates</span></dt><dd><p>Information dictionary object (see PDF reference section 10.2.1
<p>The standard keys are 'Title', 'Author', 'Subject', 'Keywords',
'Creator', 'Producer', 'CreationDate', 'ModDate', and
'Trapped'. Values have been predefined for 'Creator', 'Producer'
and 'CreationDate'. They can be removed by setting them to <aclass="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.9)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">None</span></code></a>.</p>
<codeclass="descname">addGouraudTriangles</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">points</span></em>, <em><spanclass="n">colors</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.addGouraudTriangles"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.addGouraudTriangles" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">alphaState</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">alpha</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.alphaState"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.alphaState" title="Permalink to this definition">¶</a></dt>
<dd><p>Return name of an ExtGState that sets alpha to the given value.</p>
<codeclass="descname">close</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.close"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.close" title="Permalink to this definition">¶</a></dt>
<dd><p>Flush all buffers and free all resources.</p>
<codeclass="descname">createType1Descriptor</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">t1font</span></em>, <em><spanclass="n">fontfile</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.createType1Descriptor"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.createType1Descriptor" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">dviFontName</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">dvifont</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.dviFontName"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.dviFontName" title="Permalink to this definition">¶</a></dt>
<dd><p>Given a dvi font object, return a name suitable for Op.selectfont.
This registers the font information in <codeclass="docutils literal notranslate"><spanclass="pre">self.dviFontInfo</span></code> if not yet
<codeclass="descname">embedTTF</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">filename</span></em>, <em><spanclass="n">characters</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.embedTTF"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.embedTTF" title="Permalink to this definition">¶</a></dt>
<dd><p>Embed the TTF font from the named file into the document.</p>
<codeclass="descname">endStream</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.endStream"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.endStream" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">finalize</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.finalize"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.finalize" title="Permalink to this definition">¶</a></dt>
<dd><p>Write out the various deferred objects and the pdf end matter.</p>
<codeclass="descname">fontName</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">fontprop</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.fontName"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.fontName" title="Permalink to this definition">¶</a></dt>
<dd><p>Select a font based on fontprop and return a name suitable for
Op.selectfont. If fontprop is a string, it will be interpreted
<codeclass="descname">hatchPattern</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">hatch_style</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.hatchPattern"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.hatchPattern" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">imageObject</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">image</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.imageObject"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.imageObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Return name of an image XObject representing the given image.</p>
<codeclass="descname">newPage</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">width</span></em>, <em><spanclass="n">height</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.newPage"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.newPage" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">output</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="o">*</span><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.output"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.output" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">recordXref</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">id</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.recordXref"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.recordXref" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">reserveObject</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">name</span><spanclass="o">=</span><spanclass="default_value">''</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.reserveObject"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.reserveObject" title="Permalink to this definition">¶</a></dt>
<dd><p>Reserve an ID for an indirect object.</p>
<p>The name is used for debugging in case we forget to print out
<emclass="property">property </em><codeclass="descname">used_characters</code><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.used_characters" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">write</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.write"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.write" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeExtGSTates</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeExtGSTates"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeExtGSTates" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeFonts</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeFonts"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeFonts" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeGouraudTriangles</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeGouraudTriangles"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeGouraudTriangles" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeHatches</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeHatches"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeHatches" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeImages</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeImages"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeImages" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeInfoDict</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeInfoDict"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeInfoDict" title="Permalink to this definition">¶</a></dt>
<dd><p>Write out the info dictionary, checking it for good form</p>
<codeclass="descname">writeMarkers</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeMarkers"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeMarkers" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeObject</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">object</span></em>, <em><spanclass="n">contents</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeObject"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeObject" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writePathCollectionTemplates</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writePathCollectionTemplates"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writePathCollectionTemplates" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeTrailer</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeTrailer"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeTrailer" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">writeXref</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfFile.writeXref"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfFile.writeXref" title="Permalink to this definition">¶</a></dt>
<dd><p>Write out the xref table.</p>
</dd></dl>
</dd></dl>
<dlclass="py class">
<dtid="matplotlib.backends.backend_pdf.PdfPages">
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">PdfPages</code><spanclass="sig-paren">(</span><em><spanclass="n">filename</span></em>, <em><spanclass="n">keep_empty</span><spanclass="o">=</span><spanclass="default_value">True</span></em>, <em><spanclass="n">metadata</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfPages"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfPages" title="Permalink to this definition">¶</a></dt>
<p>In reality <aclass="reference internal" href="#matplotlib.backends.backend_pdf.PdfPages" title="matplotlib.backends.backend_pdf.PdfPages"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">PdfPages</span></code></a> is a thin wrapper around <aclass="reference internal" href="#matplotlib.backends.backend_pdf.PdfFile" title="matplotlib.backends.backend_pdf.PdfFile"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">PdfFile</span></code></a>, in order to avoid
confusion when using <aclass="reference internal" href="_as_gen/matplotlib.pyplot.savefig.html#matplotlib.pyplot.savefig" title="matplotlib.pyplot.savefig"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">savefig</span></code></a> and forgetting the format argument.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>filename</strong><spanclass="classifier">str or path-like or file-like</span></dt><dd><p>Plots using <aclass="reference internal" href="#matplotlib.backends.backend_pdf.PdfPages.savefig" title="matplotlib.backends.backend_pdf.PdfPages.savefig"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">PdfPages.savefig</span></code></a> will be written to a file at this
location. The file is opened at once and any older file with the
same name is overwritten.</p>
</dd>
<dt><strong>keep_empty</strong><spanclass="classifier">bool, optional</span></dt><dd><p>If set to False, then empty pdf files will be deleted automatically
when closed.</p>
</dd>
<dt><strong>metadata</strong><spanclass="classifier">dict, optional</span></dt><dd><p>Information dictionary object (see PDF reference section 10.2.1
<p>The standard keys are 'Title', 'Author', 'Subject', 'Keywords',
'Creator', 'Producer', 'CreationDate', 'ModDate', and
'Trapped'. Values have been predefined for 'Creator', 'Producer'
and 'CreationDate'. They can be removed by setting them to <aclass="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.9)"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">None</span></code></a>.</p>
<codeclass="descname">close</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfPages.close"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfPages.close" title="Permalink to this definition">¶</a></dt>
<dd><p>Finalize this object, making the underlying file a complete
<codeclass="descname">get_pagecount</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfPages.get_pagecount"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfPages.get_pagecount" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the current number of pages in the multipage pdf file.</p>
<codeclass="descname">infodict</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfPages.infodict"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfPages.infodict" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a modifiable information dictionary object
(see PDF reference section 10.2.1 'Document Information
<codeclass="descname">keep_empty</code><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfPages.keep_empty" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">savefig</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">figure</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <em><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#PdfPages.savefig"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.PdfPages.savefig" title="Permalink to this definition">¶</a></dt>
<dd><p>Save a <aclass="reference internal" href="figure_api.html#matplotlib.figure.Figure" title="matplotlib.figure.Figure"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Figure</span></code></a> to this file as a new page.</p>
<p>Any other keyword arguments are passed to <aclass="reference internal" href="figure_api.html#matplotlib.figure.Figure.savefig" title="matplotlib.figure.Figure.savefig"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">savefig</span></code></a>.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>figure</strong><spanclass="classifier"><aclass="reference internal" href="figure_api.html#matplotlib.figure.Figure" title="matplotlib.figure.Figure"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Figure</span></code></a> or int, optional</span></dt><dd><p>Specifies what figure is saved to file. If not specified, the
active figure is saved. If a <aclass="reference internal" href="figure_api.html#matplotlib.figure.Figure" title="matplotlib.figure.Figure"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Figure</span></code></a> instance is provided, this
figure is saved. If an int is specified, the figure instance to
<emclass="property">class </em><codeclass="descclassname">matplotlib.backends.backend_pdf.</code><codeclass="descname">Reference</code><spanclass="sig-paren">(</span><em><spanclass="n">id</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Reference"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Reference" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">pdfRepr</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Reference.pdfRepr"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Reference.pdfRepr" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">write</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">contents</span></em>, <em><spanclass="n">file</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#Reference.write"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.Reference.write" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">check_gc</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">gc</span></em>, <em><spanclass="n">fillcolor</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#RendererPdf.check_gc"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.RendererPdf.check_gc" title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>points</strong><spanclass="classifier">(N, 3, 2) array-like</span></dt><dd><p>Array of <em>N</em> (x, y) points for the triangles.</p>
</dd>
<dt><strong>colors</strong><spanclass="classifier">(N, 3, 4) array-like</span></dt><dd><p>Array of <em>N</em> RGBA colors for each point of the triangles.</p>
</dd>
<dt><strong>transform</strong><spanclass="classifier"><aclass="reference internal" href="transformations.html#matplotlib.transforms.Transform" title="matplotlib.transforms.Transform"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">matplotlib.transforms.Transform</span></code></a></span></dt><dd><p>An affine transform to apply to the points.</p>
<dt><strong>x</strong><spanclass="classifier">scalar</span></dt><dd><p>The distance in physical units (i.e., dots or pixels) from the left
hand side of the canvas.</p>
</dd>
<dt><strong>y</strong><spanclass="classifier">scalar</span></dt><dd><p>The distance in physical units (i.e., dots or pixels) from the
bottom side of the canvas.</p>
</dd>
<dt><strong>im</strong><spanclass="classifier">(N, M, 4) array-like of np.uint8</span></dt><dd><p>An array of RGBA pixels.</p>
</dd>
<dt><strong>transform</strong><spanclass="classifier"><aclass="reference internal" href="transformations.html#matplotlib.transforms.Affine2DBase" title="matplotlib.transforms.Affine2DBase"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">matplotlib.transforms.Affine2DBase</span></code></a></span></dt><dd><p>If and only if the concrete backend is written such that
transformation (i.e., an <aclass="reference internal" href="transformations.html#matplotlib.transforms.Affine2DBase" title="matplotlib.transforms.Affine2DBase"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Affine2DBase</span></code></a>) <em>may</em> be passed to
<aclass="reference internal" href="#matplotlib.backends.backend_pdf.RendererPdf.draw_image" title="matplotlib.backends.backend_pdf.RendererPdf.draw_image"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">draw_image()</span></code></a>. The translation vector of the transformation
is given in physical units (i.e., dots or pixels). Note that
the transformation does not override <em>x</em> and <em>y</em>, and has to be
applied <em>before</em> translating the result by <em>x</em> and <em>y</em> (this can
be accomplished by adding <em>x</em> and <em>y</em> to the translation vector
<codeclass="descname">draw_markers</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em>, <em><spanclass="n">gc</span></em>, <em><spanclass="n">marker_path</span></em>, <em><spanclass="n">marker_trans</span></em>, <em><spanclass="n">path</span></em>, <em><spanclass="n">trans</span></em>, <em><spanclass="n">rgbFace</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_pdf.html#RendererPdf.draw_markers"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_pdf.RendererPdf.draw_markers" title="Permalink to this definition">¶</a></dt>
<dd><p>Draw a marker at each of <em>path</em>'s vertices (excluding control points).</p>
<p>This provides a fallback implementation of draw_markers that
makes multiple calls to <aclass="reference internal" href="#matplotlib.backends.backend_pdf.RendererPdf.draw_path" title="matplotlib.backends.backend_pdf.RendererPdf.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