Skip to main content

PyPI version

Gen Studio

Visualization tools for GenJAX.


genstudio.plot provides a composable way to create interactive plots using Observable Plot.

Key features:

  • Functional, composable plot creation built on Observable Plot (with near 1:1 API correspondence between Python and JavaScript)
  • Support for sliders & animations
  • Works in Jupyter / Google Colab
  • HTML mode which persists plots across kernel restart/shutdown, and a Widget mode which supports Python<>JavaScript interactivity
  • Terse layout syntax for organizing plots into rows and columns
  • Hiccup implementation for interspersing arbitrary HTML

For detailed usage instructions and examples, refer to the Gen Studio User Guide.

Development

Run yarn watch to compile the JavaScript bundle.

CI Workflows

The project has several CI workflows:

  • Tests: Runs JavaScript and Python unit tests
  • WebGPU Screenshots: Tests 3D WebGPU rendering capabilities by capturing screenshots in headless Chrome
  • Docs: Builds and deploys documentation
  • Pyright: Runs type checking for Python code
  • Ruff: Runs code formatting and linting

Credits

  • AnyWidget provides a nice Python<>JavaScript widget API
  • pyobsplot was the inspiration for our Python->JavaScript approach

Metadata

Release files for genstudio 2025.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genstudio 2025.4.1
File Size Uploaded
genstudio-2025.4.1.tar.gz 585.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for genstudio 2025.4.1
File Interpreter ABI Platform
genstudio-2025.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / genstudio-2025.4.1.tar.gz

Download URL genstudio-2025.4.1.tar.gz
Size 585.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5a0abcedfab4029d099d8419f58786ed213975e721d54beb8c6ede363f541ad6
BLAKE2b-256 checksum
How to use checksums
cf3526f10d09718cd9ac009dfaf28647565e31c2117c11699e398956940812e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.11.5 Linux/6.11.0-1012-azure

Release files / genstudio-2025.4.1-py3-none-any.whl

Download URL genstudio-2025.4.1-py3-none-any.whl
Size 606.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0b3ae1e05aecfec7c8dd3fc95c9f9f4c3168cdbb53b1601c463868cc9759a81
BLAKE2b-256 checksum
How to use checksums
f86f2c89e21fb6cc68bb5fbdeb448d63579d1a9194210c351f6bb77ad54434c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.11.5 Linux/6.11.0-1012-azure

Release history Release notifications | RSS feed

This release

2025.4.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page