mesa icon indicating copy to clipboard operation
mesa copied to clipboard

Jupyter interface for the GUI

Open rht opened this issue 3 years ago • 2 comments

It would be great if we can use Jupyter UI widgets and components (instead of Mesa-specific UserSettableParams, ChartModule, etc), where we can have interactive simulation running inside a Jupyter session. With this, we can have easy-to-run executable examples using Binder/Colab. Currently, this is not doable? See also https://github.com/projectmesa/mesa/discussions/1259.

rht avatar Apr 07 '22 13:04 rht

100% agree. There were some attempts for Jupyter integration in the past during PyCon US sprints, but they were attempts, but not completely finished & they are old -- so not sure how helpful they are now. However I wanted to dust off these PRs to provide thoughts in how others were thinking about it... but a lot of with Jupyter/Collab has changed since these were created.

https://github.com/projectmesa/mesa/pull/247 https://github.com/projectmesa/mesa/pull/469

jackiekazil avatar Apr 07 '22 17:04 jackiekazil

Progress update: I have simplified the non-straightforward code in #469. My prototype simply needs to be cleaned up. 2022-05-18-065916_1195x549_scrot

rht avatar May 18 '22 12:05 rht