<divid="unreleased-message"> You are reading an old version of the documentation (v3.3.3). For the latest version see <ahref="https://matplotlib.org/stable/api/backend_mixed_api.html">https://matplotlib.org/stable/api/backend_mixed_api.html</a></div>
<dt><strong>width</strong><spanclass="classifier">scalar</span></dt><dd><p>The width of the canvas in logical units</p>
</dd>
<dt><strong>height</strong><spanclass="classifier">scalar</span></dt><dd><p>The height of the canvas in logical units</p>
</dd>
<dt><strong>dpi</strong><spanclass="classifier">float</span></dt><dd><p>The dpi of the canvas</p>
</dd>
<dt><strong>vector_renderer</strong><spanclass="classifier"><aclass="reference internal" href="backend_bases_api.html#matplotlib.backend_bases.RendererBase" title="matplotlib.backend_bases.RendererBase"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">matplotlib.backend_bases.RendererBase</span></code></a></span></dt><dd><p>An instance of a subclass of
<aclass="reference internal" href="backend_bases_api.html#matplotlib.backend_bases.RendererBase" title="matplotlib.backend_bases.RendererBase"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">RendererBase</span></code></a> that will be used for the
vector drawing.</p>
</dd>
<dt><strong>raster_renderer_class</strong><spanclass="classifier"><aclass="reference internal" href="backend_bases_api.html#matplotlib.backend_bases.RendererBase" title="matplotlib.backend_bases.RendererBase"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">matplotlib.backend_bases.RendererBase</span></code></a></span></dt><dd><p>The renderer class to use for the raster drawing. If not provided,
this will use the Agg backend (which is currently the only viable
<codeclass="descname">start_rasterizing</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_mixed.html#MixedModeRenderer.start_rasterizing"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_mixed.MixedModeRenderer.start_rasterizing" title="Permalink to this definition">¶</a></dt>
<dd><p>Enter "raster" mode. All subsequent drawing commands (until
<aclass="reference internal" href="#matplotlib.backends.backend_mixed.MixedModeRenderer.stop_rasterizing" title="matplotlib.backends.backend_mixed.MixedModeRenderer.stop_rasterizing"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">stop_rasterizing</span></code></a> is called) will be drawn with the raster backend.</p>
<codeclass="descname">stop_rasterizing</code><spanclass="sig-paren">(</span><em><spanclass="n">self</span></em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/backends/backend_mixed.html#MixedModeRenderer.stop_rasterizing"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.backends.backend_mixed.MixedModeRenderer.stop_rasterizing" title="Permalink to this definition">¶</a></dt>
<dd><p>Exit "raster" mode. All of the drawing that was done since
the last <aclass="reference internal" href="#matplotlib.backends.backend_mixed.MixedModeRenderer.start_rasterizing" title="matplotlib.backends.backend_mixed.MixedModeRenderer.start_rasterizing"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">start_rasterizing</span></code></a> call will be copied to the
vector backend by calling draw_image.</p>
<p>If <aclass="reference internal" href="#matplotlib.backends.backend_mixed.MixedModeRenderer.start_rasterizing" title="matplotlib.backends.backend_mixed.MixedModeRenderer.start_rasterizing"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">start_rasterizing</span></code></a> has been called multiple times,
<aclass="reference internal" href="#matplotlib.backends.backend_mixed.MixedModeRenderer.stop_rasterizing" title="matplotlib.backends.backend_mixed.MixedModeRenderer.stop_rasterizing"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">stop_rasterizing</span></code></a> must be called the same number of times before