SimonBiggs / scriptedforms

Quickly create live-update GUIs for Python packages using Markdown and simple HTML elements.
Apache License 2.0
508 stars 34 forks source link

Implement Beakerx's tableDisplay as a <variable-sheet> component #260

Open SimonBiggs opened 6 years ago

SimonBiggs commented 6 years ago

@robmarkcole beakerx have made a quite a good pandas spreadsheet like element. To see it go to https://mybinder.org/v2/gh/twosigma/beakerx/0.15.2?filepath=doc/python/TableAPI.ipynb then go cell > run all.

It wouldn't be very difficult to plugin ScriptedForm's change detection into the beakerx table. I could make a separate variable called variable-sheet that uses beakerx to render the pandas dataframe...

Let me know what you think. Would this be worth while?

robmarkcole commented 6 years ago

Hi @SimonBiggs tables look fantastic, I would say go for it

SimonBiggs commented 6 years ago

So, as it currently stands beakerx is quite a heavy package. I don't want to make beakerx a dependency of ScriptedForms. However! Already in the beakerx pipeline is the task of spinning off the pandas spreadsheet table into its own separately installable package which would be perfect:

https://github.com/twosigma/beakerx/issues/7165

So once that lands I'll make the beakerx table widget a first class citizen of ScriptedForms plugged in to the change detection etc.

robmarkcole commented 6 years ago

Yes one to watch. Definitely want to keep dependency sizes down.