<divid="unreleased-message"> You are reading an old version of the documentation (v3.3.2). For the latest version see <ahref="https://matplotlib.org/stable/index.html">https://matplotlib.org/stable/index.html</a></div>
<h1>Matplotlib: Visualization with Python<aclass="headerlink" href="#matplotlib-visualization-with-python" title="Permalink to this headline">¶</a></h1>
<p>Matplotlib is a comprehensive library for creating static, animated,
<li>Develop <aclass="reference external" href="https://matplotlib.org/gallery/index.html">publication quality plots</a> with just a few lines of code</li>
<li>Use <aclass="reference external" href="https://matplotlib.org/gallery/index.html#event-handling">interactive figures</a> that can zoom, pan, update...</li>
</ul>
</div>
<divclass="bullet-box docutils container">
<p>Customize</p>
<ulclass="simple">
<li><aclass="reference external" href="https://matplotlib.org/tutorials/index.html#tutorials">Take full control</a> of line styles, font properties, axes properties...</li>
<li><aclass="reference external" href="https://matplotlib.org/api/index_backend_api.html">Export and embed</a> to a number of file formats and interactive environments</li>
</ul>
</div>
<divclass="bullet-box docutils container">
<p>Extend</p>
<ulclass="simple">
<li>Explore tailored functionality provided by
<aclass="reference internal" href="thirdpartypackages/index.html"><spanclass="doc">third party packages</span></a></li>
<h2>Documentation<aclass="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2>
<p>To get started, read the <aclass="reference internal" href="users/index.html"><spanclass="doc">User's Guide</span></a>.</p>
<p>Trying to learn how to do a particular kind of plot? Check out the
<aclass="reference internal" href="gallery/index.html"><spanclass="doc">examples gallery</span></a> or the <aclass="reference internal" href="api/pyplot_summary.html"><spanclass="doc">list of plotting commands</span></a>.</p>
</div>
<divclass="section" id="join-our-community">
<h2>Join our community!<aclass="headerlink" href="#join-our-community" title="Permalink to this headline">¶</a></h2>
<p>Matplotlib is a welcoming, inclusive project, and we follow the <aclass="reference external" href="https://www.python.org/psf/conduct/">Python
Software Foundation Code of Conduct</a> in everything we do.</p>
<h3>Third party packages<aclass="headerlink" href="#third-party-packages" title="Permalink to this headline">¶</a></h3>
<p>A large number of <aclass="reference internal" href="thirdpartypackages/index.html"><spanclass="doc">third party packages</span></a>
extend and build on Matplotlib functionality, including several higher-level
plotting interfaces (<aclass="reference external" href="https://seaborn.pydata.org">seaborn</a>, <aclass="reference external" href="https://holoviews.org">HoloViews</a>, <aclass="reference external" href="http://ggplot.yhathq.com">ggplot</a>, ...), and a projection
and mapping toolkit (<aclass="reference external" href="https://scitools.org.uk/cartopy/docs/latest">Cartopy</a>).</p>
</div>
<divclass="section" id="citing-matplotlib">
<h3>Citing Matplotlib<aclass="headerlink" href="#citing-matplotlib" title="Permalink to this headline">¶</a></h3>
<p>Matplotlib is the brainchild of John Hunter (1968-2012), who, along with its
many contributors, have put an immeasurable amount of time and effort into
producing a piece of software utilized by thousands of scientists worldwide.</p>
<p>If Matplotlib contributes to a project that leads to a scientific publication,
please acknowledge this work by citing the project. A <aclass="reference internal" href="citing.html"><spanclass="doc">ready-made citation
entry</span></a> is available.</p>
</div>
<divclass="section" id="open-source">
<h3>Open source<aclass="headerlink" href="#open-source" title="Permalink to this headline">¶</a></h3>
<ahref="https://numfocus.org/">
<imgsrc="_static/numfocus_badge.png"
alt="A Fiscally Sponsored Project of NUMFocus"
style="float:right; margin-left:20px" />
</a><p>Matplotlib is a Sponsored Project of NumFOCUS, a 501(c)(3) nonprofit
charity in the United States. NumFOCUS provides Matplotlib with
fiscal, legal, and administrative support to help ensure the health
and sustainability of the project. Visit <aclass="reference external" href="https://numfocus.org">numfocus.org</a> for more
information.</p>
<p>Donations to Matplotlib are managed by NumFOCUS. For donors in the
United States, your gift is tax-deductible to the extent provided by
law. As with any donation, you should consult with your tax adviser
about your particular tax situation.</p>
<p>Please consider <aclass="reference external" href="https://numfocus.org/donate-to-matplotlib">donating to the Matplotlib project</a> through
the NumFOCUS organization or to the <aclass="reference external" href="https://numfocus.org/programs/john-hunter-technology-fellowship/">John Hunter Technology Fellowship</a>.</p>
<p>The <aclass="reference internal" href="users/license.html"><spanclass="doc">Matplotlib license</span></a> is based on the <aclass="reference external" href="https://www.python.org/psf/license">Python Software
Foundation (PSF) license</a>.</p>
<p>There is an active developer community and a long list of people who have made