This repository was archived by the owner on Sep 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
This repository was archived by the owner on Sep 1, 2022. It is now read-only.
Widgets #34
Copy link
Copy link
Open
Description
- Checking the recent ipywidgets changes with the current hack in the notebook to make sure the framework still works well
- Make an easy way to transform from backbone views to phosphor views that are displayed. Perhaps at the WidgetManager displaying logic level.
- Minimally wrap widgets
- Get it working in the new notebook
- Clean up each view, removing jquery and bootstrap dependencies
- Rewrite tab widget with phosphor tabs
- accordion widget
- test controller view
- all other cleanups
Widget output system
- JASON email the list for comments on changing how widgets are displayed
- JASON Fix widget python code to use ipython display system instead of comm messages
- adding a widget renderer to the transformime code to be able to display widgets in the output area of a cell. This would take the widget data {'application/jupyter-widget': 'model-id-of-widget'}.
- Output area widget
- ping Jon
- Python side: capture output messages with a context manager and store them instead in the widget state
- javascript side: give the appropriate transformime instance to the output widget view so that it can render the outputs
- Creating an output display class that takes in the widget mimetype and displays the correct model in the appropriate place in the output area.
ow1 = OutputWidget()
display(ow1) # send display_data message
with ow1.capture(): # or with ow1:
plot(x,y)
with ow2.capture()
plot(x2,y2)
ow1.clear_output()
x = IntSlider()
display(x)
display(plot(data, data*x.value))
def x_change(name, value):
clear_output()
plot(data, data*x.value)
x.on_trait_change(x_change)
Metadata
Metadata
Assignees
Labels
No labels