Matplotlib is a is a plotting library for the Python programming language. It allows to make quality charts in few lines of code. Most of the other python plotting library are build on top of Matplotlib. It makes that a basic understanding

of matplotlib is probably needed to make any chart with python. I highly advise you to have a look to the matplotlib homepage and have a look to this general concept page. This page aims to give a few tip concerning the general

usage of Matplotlib. It gives examples showing how to custom your title, the colors of your chart, how to annotate it etc. If you need to make a chart in particular, visit the welcome page of the gallery to find the one you need!

Note that datacamp offers a good and free online course on Matplotlib. Worth it.


  • Sponsors


    Manage titles

    Manage axis




    Calling one color

    Color palettes




    Matplotlib style sheets

    Charts made with matplotlib

    The Python Graph Gallery contains hundreds of charts made with Matplotlib. Charts are distributed in several categories that you can find on the home page. Here is a subset of the categories that exist: