Interactive Canvas in Jupyter
See the codeipycanvas 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 with notebook.link by clicking on this badge:
You can read the documentation following this link: https://ipycanvas.readthedocs.io
If you have any question, or if you want to share what you do with ipycanvas, start a new discussion on Github!
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



![]()


935 followers · starred Dec 2020
622 followers · starred Nov 2024
222 followers · starred May 2020
270 followers · starred Jan 2021
Interactive Canvas in Jupyter
See the codeipycanvas 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 with notebook.link by clicking on this badge:
You can read the documentation following this link: https://ipycanvas.readthedocs.io
If you have any question, or if you want to share what you do with ipycanvas, start a new discussion on Github!
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



![]()


935 followers · starred Dec 2020
622 followers · starred Nov 2024
222 followers · starred May 2020
270 followers · starred Jan 2021