-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Output widgets #3
Comments
Are you able to get the Output widget to render? I get an issue where it tries to access a library that we don't have in the project, I think like jupyter-widget/output or something. This part looks like an easy enough fix but I wanted to check that you hadn't done this already in an unmerged PR. |
Yeah, this is what I'm working on at the moment. This and parts of nteract/nteract#4645 as well as parts of nteract/nteract#4648 are related to this. The Output widget has to be implemented by us and needs to hook into our execute epics and state to redirect outputs correctly. |
Updating the name of this issue and transferring it to the outputs package where the jupyter-widgets transform leaves now. I started taking a look at implementing this in the fall and it was....messy. An output widget is essentially a transform within a Jupyter widget. Adding support for this in a way that is maintainable and easy to reason about is challenging for a couple of reasons:
I started this work in nteract/nteract#4679 but tabled it after realizing how difficult it was to integrate into our package system. |
Context: Found this while going through the Output Widget.ipynb example notebook.
Currently, if an
Output
widget is initialized, stdout and stderr streams are not redirected to it.The text was updated successfully, but these errors were encountered: