aimalz / plasticc-explorer

A prototype interactive data exploration tool for the results of PLAsTiCC
https://aimalz.github.io/plasticc-explorer/
MIT License
2 stars 0 forks source link

Investigate Matplotlib interactive plot support #7

Open aimalz opened 4 years ago

aimalz commented 4 years ago

We might be able to use Matplotlib's event handling and WebAgg backend to solve the open issues we'd planned to address with bokeh and panel. Specifically, the "Legend Picking" demo might address #2, and the "Data Browser" demo might address #3, #4, and #5. (More demos live here.)

Annoyingly, the demos aren't actually interactive, although the code makes an interactive plot locally. But, I tried out the instructions for embedding the WebAgg plots last week (in super-barebones HTML pages) with the demos linked above, and it worked locally. I'm going to play around with that for a bit, with goals of getting the demos to run on the existing GitHub Pages website and melding at least one of the plots into one of the demos, ship of Theseus style.