Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interactive Canvas in Jupyter

License

NotificationsYou must be signed in to change notification settings

jupyter-widgets-contrib/ipycanvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipycanvas

Interactive Canvas in Jupyter

ipycanvasDocumentationBinderJupyterLiteDownloadsJoin the chat at https://gitter.im/jupyter-widgets-contrib/ipycanvas

ipycanvas is a lightweight, fast and stable library exposing thebrowser'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 usingpip:

pip install ipycanvas orjson

Or usingconda:

conda install -c conda-forge ipycanvas

And if you use jupyterlab <= 2:

conda install -c conda-forge yarnjupyter labextension install @jupyter-widgets/jupyterlab-manager ipycanvas

A development installation guide, can be foundhere

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 libraryfully in Python

Plotting


[8]ページ先頭

©2009-2025 Movatter.jp