Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.11 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.11 KB

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.

Credits

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