Key differences

  • Matplotlib and Bokeh have a similar number of GitHub stars (23.5K vs 20.5K).
  • Matplotlib had more development activity over the last 12 months: 2,136 commits vs 423.
  • Matplotlib is downloaded 37× as often on PyPI (48.9M 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.5K
PyPI downloads / week
1.3M 48.9M
Commits, last 12 months
423 2.1K
Contributors
388 439
Forks
4.3K 8.6K
Show data as a table
Bokeh vs Matplotlib by the numbers
MetricBokehMatplotlib
GitHub stars20,47923,473
PyPI downloads / week1,334,36848,905,733
Commits, last 12 months4232,136
Contributors388439
Forks4,2778,552

Development activity

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

  • Bokeh
  • Matplotlib
0100200300 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep OctBokehMatplotlib
0100200300 Nov 2025 Feb 2026 May Aug BokehMatplotlib
Show data as a table
Bokeh vs Matplotlib: commits per month
MonthBokehMatplotlib
Nov 20252072
Dec 2025997
Jan 202638153
Feb 202620144
Mar 202638244
Apr 202621197
May 202613257
Jun 202623260
Jul 202659202
Aug 202645142
Sep 202645179
Oct 202692189

Side by side

AttributeBokehMatplotlib
DescriptionInteractive Web Plotting for Python.2D plotting library.
CategoryPython interactive web charting librariesPython plotting libraries
LicenseBSD-3-ClausePSF-2.0
LanguageTypeScriptPython
StatusActiveActive
Latest release–v3.11.2 ()
Last commit
Repository created
Open issues7501,049
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.5K starsPythonPSF-2.0

More comparisons