bokeh VS matplotlib

Compare bokeh vs matplotlib and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
bokeh matplotlib
24 36
18,700 19,056
1.0% 1.4%
9.5 10.0
7 days ago 7 days ago
Python Python
BSD 3-clause "New" or "Revised" License Python License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bokeh

Posts with mentions or reviews of bokeh. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-25.

matplotlib

Posts with mentions or reviews of matplotlib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-07.
  • How and where is matplotlib package making use of PySide?
    2 projects | /r/learnpython | 7 Dec 2023
    However, when I look up the matplotlib source, I can't find pyside used anywhere in dependency list. Even a repo search for the term "pyside" gives mentions in the issue tracker but no actual use in the code.
    2 projects | /r/learnpython | 7 Dec 2023
  • Top 10 growing data visualization libraries in Python in 2023
    10 projects | dev.to | 11 Oct 2023
    Github: https://github.com/matplotlib/matplotlib
  • The Python Packages That Gave Me Nightmares: A Guide to Overcoming Common Challenges
    7 projects | dev.to | 8 Feb 2023
    Matplotlib: Matplotlib is a 2D plotting library that allows you to create visualizations of your data. It's a powerful tool for data analysis, but the syntax can be complex and the customization options can be overwhelming. GitHub - https://github.com/matplotlib/matplotlib
  • Where to find a dynamic charge density animation/simulation?
    3 projects | /r/computationalphysics | 1 Dec 2022
    I will think more about what I want to say next, but for now, I would like to say that I need the super-particles and PIC methods as I think that is the way forward for me. Are there ways to implement these methods in matplotlib, Visit or Paraview? Do I take existing code and import it into those programs to visualize it? Or can I directly program/simulate something in those visualizion tools without needing to import any code?
    3 projects | /r/computationalphysics | 1 Dec 2022
    Your choices are an n-body simulation (e.g., LAMMPS) with Coulomb interactions or, if your electrons are sufficiently sparse, a particle-in-cell (e.g., Starfish). Your best bets for visualization are going to be matplotlib or something more user-friendly like Visit or Paraview. Without a neutralizing background, however, your electrons are just going to repel each other, hit the walls, and disappear - there's not going to be much interesting to visualize. What are you actually trying to simulate? With more information maybe you could receive some more targeted advice.
  • How to model the hanging chain PDE using numerical methods in Python?
    2 projects | /r/learnpython | 25 Nov 2022
    There are plenty of data visualization tools in python, but probably the easiest to get started with is Matplotlib
  • Best way to learn ML/AI hands-on as a developer?
    2 projects | /r/MLQuestions | 22 Nov 2022
    An example of how I would do this is to just plot your data on a line graph (https://matplotlib.org/) . Are there any repeating trends? Next try splitting your data into day of the week, day of the month, months, etc. Look for any kind of seasonality (we're trying to use the past to predict the future, so if the future is not like the past our models will fail).
  • Matplotlib - Visualization with Python
    2 projects | dev.to | 6 Nov 2022
  • SerpApi Demo Project: Walmart Coffee Exploratory Data Analysis
    4 projects | dev.to | 25 Oct 2022
    Install libraries and tell matplotlib to plot inline (inside notebook) with the help of % magic functions which sets the backend of matplotlib to the inline backend:

What are some alternatives?

When comparing bokeh and matplotlib you can also consider the following projects:

plotly - The interactive graphing library for Python :sparkles: This project now includes Plotly Express!

PyQtGraph - Fast data visualization and GUI tools for scientific / engineering applications

seaborn - Statistical data visualization in Python

Altair - Declarative statistical visualization library for Python

pygal - PYthon svg GrAph plotting Library

bqplot - Plotting library for IPython/Jupyter notebooks

folium - Python Data. Leaflet.js Maps.

plotnine - A Grammar of Graphics for Python

VisPy - Main repository for Vispy

Graphviz - Simple Python interface for Graphviz