General-purpose plotting libraries for Python. Matplotlib is the foundation most of the ecosystem builds on, with fine control over every element of a figure, and Seaborn adds statistical plots with sensible defaults on top of it. pygal produces SVG charts, and Toyplot focuses on clean, interactive output for notebooks.

By GitHub stars, the most popular Python plotting libraries here are Matplotlib (23.4K stars), Seaborn (14.1K stars), and pygal (2.8K stars). 3 of 5 had commits in the last 90 days.

Python plotting libraries, ranked by GitHub stars
1 Matplotlib

2D plotting library.

23.4K 2,119 PSF-2.0
2 Seaborn

A library for making attractive and informative statistical graphics.

14.1K 19 BSD-3-Clause
3 pygal

SVG charting library for Python with many chart types and interactive output.

2.8K 27 LGPL-3.0
4 Veusz

Python multiplatform GUI plotting tool and graphing library

1.1K 19 GPL-2.0
5 Toyplot

The kid-sized plotting toolkit for Python with grownup-sized goals.

449 26 BSD

Head-to-head comparisons

Related categories

Frequently asked questions

What is the most popular Python plotting library?

By GitHub stars, Matplotlib is the most popular, with 23.4K stars, followed by Seaborn (14.1K) and pygal (2.8K).

Which Python plotting libraries are actively maintained?

5 of the 5 tools listed had commits in the last 12 months, including Matplotlib, Seaborn, pygal, Veusz, and Toyplot. Each tool page shows monthly commit activity.

Are these Python plotting libraries free and open source?

5 of the 5 tools listed use an OSI-approved open-source license. The most common license here is PSF-2.0.

Missing a tool? Add it with a one-line pull request to the README.