trame
trame copied to clipboard
Jupyter Lab: Compatibility with Sidecar
We like to use Trame a lot from Project Jupyter, especially Jupyter lab. I recently gave this binder demo a try and co-installed the Sidecar extension and it did not seem to work yet. Can support for this be added? We have often complex widgets and like to move them around in separate windows like this.
Describe the solution you'd like
I would like this to work together and open a new Jupyter lab window:
import trame.app.demo
from sidecar import Sidecar
app = trame.app.demo.Cone()
await app.ui.ready
sc = Sidecar(title='Sidecar Output')
with sc:
display(app.ui)
Describe alternatives you've considered
I am not aware of other extensions that allow to create and control Jupyter windows, but as an alternative this could also become an intrinsic feature of Trame's Jupyter support (?)
Additional context
We are interested to develop dashboards and interfaces to BLAST codes WarpX and ImpactX, among other applications.