Interactive widgets library exposing the browser's Canvas API
Project Links
Meta
Author: Martin Renou
Classifiers
Framework
- Jupyter
Intended Audience
- Developers
- Science/Research
License
- OSI Approved :: BSD License
Programming Language
- Python
- Python :: 3
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
ipycanvas
Interactive Canvas in Jupyter
ipycanvas is a lightweight, fast and stable library exposing the browser's Canvas API to IPython. It allows you to draw simple primitives directly from Python like text, lines, polygons, arcs, images etc. This simple toolset allows you to draw literally anything!
Try it online!
You can try it online by clicking on this badge:
Documentation
You can read the documentation following this link: https://ipycanvas.readthedocs.io
Questions?
If you have any question, or if you want to share what you do with ipycanvas, start a new discussion on Github!
Installation
You can install using pip:
pip install ipycanvas orjson
Or using conda:
conda install -c conda-forge ipycanvas
And if you use jupyterlab <= 2:
conda install -c conda-forge yarn
jupyter labextension install @jupyter-widgets/jupyterlab-manager ipycanvas
A development installation guide, can be found here
Examples
Create John Conway's Game Of Life

Give a "hand-drawn" style to your drawings using the RoughCanvas

Draw Particles from IPython

Custom Sprites
![]()
Draw data directly from a NumPy array

Create your own plotting library fully in Python

0.14.3
Dec 11, 2025
0.14.2
Nov 26, 2025
0.14.1
Aug 01, 2025
0.14.0
Aug 01, 2025
0.13.3
Sep 06, 2024
0.13.2
Apr 25, 2024
0.13.1
Aug 29, 2022
0.13.0
Aug 26, 2022
0.12.1
Aug 19, 2022
0.12.0
May 03, 2022
0.11.0
Mar 08, 2022
0.10.2
Dec 01, 2021
0.10.1
Dec 01, 2021
0.10.0
Nov 29, 2021
0.9.1
Oct 22, 2021
0.9.0
Jun 18, 2021
0.8.2
Jan 20, 2021
0.8.1
Dec 27, 2020
0.8.0
Dec 19, 2020
0.7.0
Nov 22, 2020
0.6.0
Oct 31, 2020
0.5.1
Sep 11, 2020
0.5.0
Jul 29, 2020
0.4.7
Jun 07, 2020
0.4.6
May 09, 2020
0.4.5
Apr 11, 2020
0.4.4
Mar 03, 2020
0.4.3
Jan 24, 2020
0.4.2
Jan 18, 2020
0.4.1
Dec 22, 2019
0.4.0
Nov 03, 2019
0.3.4
Oct 17, 2019
0.3.3
Oct 17, 2019
0.3.2
Oct 13, 2019
0.3.1
Oct 05, 2019
0.3.0
Sep 18, 2019
0.2.2
Sep 13, 2019
0.2.1
Sep 13, 2019
0.2.0
Sep 07, 2019
0.1.0
Jul 07, 2019