Skip to main content

Simple sketching tool for Jupyter notebooks

Project description

ipysketch_lite

A lite sketching utility for python notebooks, no sockets or extra dependencies 🎨

(no extra widget code)

Make sketches right in your notebook then use the sketch in your python code.

Try yourself:

jupyterlite badge

Quickstart

Start drawing a quick sketch in your notebook like this

from ipysketch_lite import Sketch

sketch = Sketch()

Then add a new cell to retrieve the sketch in python

print(sketch.get_output())

import matplotlib.pyplot as plt

plt.imshow(sketch.get_output_array())

example sketch

Sketches get updated in cells after draw updates

This means you can continue your sketch and get the new updated outputs

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

ipysketch_lite-0.2.1.tar.gz (370.8 kB view hashes)

Uploaded Source

Built Distribution

ipysketch_lite-0.2.1-py3-none-any.whl (14.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page