Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ipycanvas

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipycanvas

Interactive widgets library exposing the browser's Canvas API

  • 0.13.3
  • PyPI
  • Socket score

Maintainers
1

ipycanvas

Interactive Canvas in Jupyter

Documentation Binder JupyterLite Downloads Join the chat at https://gitter.im/jupyter-widgets-contrib/ipycanvas

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:

Binder

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!

Or join the gitter channel: Join the chat at https://gitter.im/jupyter-widgets-contrib/ipycanvas

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

John Conway's Game Of Life

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

RoughCanvas

Draw Particles from IPython

Particles

Custom Sprites

Sprites

Draw data directly from a NumPy array

NumPy

Create your own plotting library fully in Python

Plotting

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc