jupyterlab-draw
Infinite-canvas drawing pad for JupyterLab 4 notebooks.
- Draw button in the notebook toolbar (also in the Command Palette).
- Tools: select/move/resize, pan, pen (pencil cursor), eraser (eraser cursor), line, arrow, rectangle, ellipse, diamond, colour, width, fill, undo/redo/clear.
- Infinite canvas: horizontal + vertical scrollbars that keep growing, wheel / trackpad
scrolling, Shift+wheel sideways,
Space+drag or middle-mouse to pan,Ctrl+wheel to zoom. - Editable format: every drawing is saved as
<notebook>_draw_<n>.draw.json(each stroke/shape is its own object) next to<notebook>_draw_<n>.png. - Re-edit: double-click the drawing in the notebook (or select its cell and press Draw) and the same objects re-open, ready to select, move, resize, recolour, delete or undo. Save changes overwrites the same files and refreshes the cell.
- Save as image: PNG button in the toolbar downloads the drawing (cropped to its content);
JSON button downloads the editable
.draw.json. - Old drawings that only have a PNG still open: the picture is imported as one movable object.
Keyboard: V select, H pan, P pen, E eraser, L line, A arrow, R rect, O ellipse,
D diamond, Del delete, arrows nudge, Ctrl+A select all, Ctrl+Z/Y undo/redo, Ctrl+S save,
Esc deselect / close.
The eraser removes whole strokes/shapes (so everything stays editable).
Install
pip install jupyterlab_draw-0.2.0-py3-none-any.whl
# restart JupyterLab (prebuilt extension, no `jupyter lab build` needed)
Develop
pip install -e .
jupyter labextension develop . --overwrite
jlpm build
Metadata
Release files for jupyterlab-draw 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_draw-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_draw-0.3.0-py3-none-any.whl |
Release files / jupyterlab_draw-0.3.0-py3-none-any.whl
| Download URL | jupyterlab_draw-0.3.0-py3-none-any.whl |
|---|---|
| Size | 71.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48e2c90356b402ed15a8c7c6f18ffc9a1f547909bf2d3e37c196b8faa35e99f3
|
|
BLAKE2b-256 checksum How to use checksums |
177f2776b2138aca8bc9a21ebebdf0db35f498e2738fa164023e1d22bcadd5a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for jupyterlab-draw 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.