<divid="unreleased-message"> You are reading an old version of the documentation (v2.2.3). For the latest version see <ahref="https://matplotlib.org/stable/api/style_api.html">https://matplotlib.org/stable/api/style_api.html</a></div>
<h1>style<aclass="headerlink" href="#style" title="Permalink to this headline">¶</a></h1>
<divclass="section" id="module-matplotlib.style">
<spanid="matplotlib-style"></span><h2><aclass="reference internal" href="#module-matplotlib.style" title="matplotlib.style"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">matplotlib.style</span></code></a><aclass="headerlink" href="#module-matplotlib.style" title="Permalink to this headline">¶</a></h2>
<dlclass="function">
<dtid="matplotlib.style.context">
<codeclass="descclassname">matplotlib.style.</code><codeclass="descname">context</code><spanclass="sig-paren">(</span><em>style</em>, <em>after_reset=False</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/style/core.html#context"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.style.context" title="Permalink to this definition">¶</a></dt>
<dd><p>Context manager for using style settings temporarily.</p>
<dd><pclass="first last">If True, apply style after resetting settings to their defaults;
otherwise, apply style on top of the current settings.</p>
</dd>
</dl>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="function">
<dtid="matplotlib.style.reload_library">
<codeclass="descclassname">matplotlib.style.</code><codeclass="descname">reload_library</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/style/core.html#reload_library"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.style.reload_library" title="Permalink to this definition">¶</a></dt>
<dd><p>Reload style library.</p>
</dd></dl>
<dlclass="function">
<dtid="matplotlib.style.use">
<codeclass="descclassname">matplotlib.style.</code><codeclass="descname">use</code><spanclass="sig-paren">(</span><em>style</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/style/core.html#use"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.style.use" title="Permalink to this definition">¶</a></dt>
<dd><p>Use matplotlib style settings from a style specification.</p>
<p>The style name of 'default' is reserved for reverting back to
<codeclass="descclassname">matplotlib.style.</code><codeclass="descname">library</code><aclass="headerlink" href="#matplotlib.style.matplotlib.style.library" title="Permalink to this definition">¶</a></dt>
<codeclass="descclassname">matplotlib.style.</code><codeclass="descname">available</code><aclass="headerlink" href="#matplotlib.style.matplotlib.style.available" title="Permalink to this definition">¶</a></dt>