Key differences

  • Matplotlib and Bokeh have a similar number of GitHub stars (23.3K vs 20.5K).
  • Matplotlib had more development activity over the last 12 months: 2,023 commits vs 344.
  • Matplotlib is downloaded 30× as often on PyPI (39.5M vs 1.3M per week).
  • Bokeh is licensed under BSD-3-Clause; Matplotlib under PSF-2.0.
  • Bokeh is written primarily in TypeScript, Matplotlib in Python.
  • Matplotlib is the older project: its repository was created in 2011, Bokeh's in 2012.

By the numbers

  • Bokeh
  • Matplotlib
GitHub stars
20.5K 23.3K
PyPI downloads / week
1.3M 39.5M
Commits, last 12 months
344 2K
Contributors
389 438
Forks
4.3K 8.5K
Show data as a table
Bokeh vs Matplotlib by the numbers
MetricBokehMatplotlib
GitHub stars20,45523,323
PyPI downloads / week1,301,21139,546,864
Commits, last 12 months3442,023
Contributors389438
Forks4,2658,503

Development activity

Commits per month to each default branch, last 12 complete months.

  • Bokeh
  • Matplotlib
0100200300 Oct 2025 Nov Dec Jan 2026 Feb Mar Apr May Jun Jul Aug SepBokehMatplotlib
0100200300 Oct 2025 Jan 2026 Apr Jul BokehMatplotlib
Show data as a table
Bokeh vs Matplotlib: commits per month
MonthBokehMatplotlib
Oct 202513100
Nov 20252072
Dec 2025997
Jan 202638153
Feb 202620144
Mar 202638244
Apr 202621197
May 202613257
Jun 202623257
Jul 202659199
Aug 202645139
Sep 202645164

Side by side

AttributeBokehMatplotlib
DescriptionInteractive Web Plotting for Python.2D plotting library.
CategoryPython data visualization librariesPython data visualization libraries
LicenseBSD-3-ClausePSF-2.0
LanguageTypeScriptPython
StatusActiveActive
Latest release–v3.11.2 ()
Last commit
Repository created
Open issues7911,059
Install
pip install bokeh
pip install matplotlib

Which should you choose?

Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.

  • Bokeh

    Interactive Web Plotting for Python.

    20.5K starsTypeScriptBSD-3-Clause

  • Matplotlib

    2D plotting library.

    23.3K starsPythonPSF-2.0

More comparisons