-
Notifications
You must be signed in to change notification settings - Fork 54
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
stdout is not correctly rendered in some cases #82
Comments
|
By setting the When the python is: from ipywidgets import interact, interactive, fixed, interact_manual
import ipywidgets as widgets
def f(x):
return x
interact(f, x=10) Then, the message is: {
"data":{
"state":{
"_model_module":"@jupyter-widgets/base",
"_model_module_version":"1.2.0",
"_model_name":"LayoutModel",
"_view_count":"None",
"_view_module":"@jupyter-widgets/base",
"_view_module_version":"1.2.0",
"_view_name":"LayoutView",
"align_content":"None",
"align_items":"None",
"align_self":"None",
"border":"None",
"bottom":"None",
"display":"None",
"flex":"None",
"flex_flow":"None",
"grid_area":"None",
"grid_auto_columns":"None",
"grid_auto_flow":"None",
"grid_auto_rows":"None",
"grid_column":"None",
"grid_gap":"None",
"grid_row":"None",
"grid_template_areas":"None",
"grid_template_columns":"None",
"grid_template_rows":"None",
"height":"None",
"justify_content":"None",
"justify_items":"None",
"left":"None",
"margin":"None",
"max_height":"None",
"max_width":"None",
"min_height":"None",
"min_width":"None",
"object_fit":"None",
"object_position":"None",
"order":"None",
"overflow":"None",
"overflow_x":"None",
"overflow_y":"None",
"padding":"None",
"right":"None",
"top":"None",
"visibility":"None",
"width":"None"
},
"buffer_paths":[
]
},
"comm_id":"b4cd3d090bae463e95dcc46e1d23fdad",
"target_name":"jupyter.widget",
"target_module":"None"
} In this case, it should be parsed to a Qt object and displayed. |
Okay, I'll fix the pandas example. Treating outputs as qt objects should be an issue/enhancement on its own. |
On a jupyter notebook, the code above renders a pretty image:
This is not the case currently:
The text was updated successfully, but these errors were encountered: