A small widget to let users draw by hand in a Jupyter notebook.
Project description
Drawing utility in ipycanvas
Small utility to make simple drawings in Jupyter notebooks with ipycanvas and ipywidgets.
Installing
pip install ipycanvas_drawing
Usage
Create a simple drawing interface. Check out the notebook in examples
for a more complete example.
from ipycanvas_drawing import DrawingWidget
drawing_widget = DrawingWidget(width=500, height=500)
drawing_widget.show()
Credits
Based on the hand drawing example provided by @martinRenou, but adds some additional functionality like adding squares and ellipses and a 1-step undo.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ipycanvas_drawing-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 023f12be1f0782ceb8e5b209b1e5b5be633c1e2def2298f7a1ed4b6ea671a52b |
|
MD5 | 1e6e7e4c83fa46525b721cd54cd169dc |
|
BLAKE2b-256 | 44a3f9825c31c21522c2f54a3e5d6eafeae4521e4d887504dfc892bb4ad7853b |