You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I am doing is like this, I want to display the data where I select.
The selected data is oberved and stored in a traitlets class well. However, it cannot display well in widgets.Output()
@data_output.capture()
def show_dataframe(change):
if change is not None:
tmp_frame = data_frame.iloc[change['new']][:10]
clear_output()
display(tmp_frame, display_id=99)
js2py_memory.observe(show_dataframe, names=["data"])
If I display the result in a new cell instead of in widgets.Output(), it works well.
Is there any way I can put the result in Output? Because I want to put both table and plot in single cell. If Output cannot realize this, is there other way?
Thanks
The text was updated successfully, but these errors were encountered:
What I am doing is like this, I want to display the data where I select.
The selected data is oberved and stored in a traitlets class well. However, it cannot display well in widgets.Output()
@data_output.capture()
def show_dataframe(change):
if change is not None:
tmp_frame = data_frame.iloc[change['new']][:10]
clear_output()
display(tmp_frame, display_id=99)
js2py_memory.observe(show_dataframe, names=["data"])
If I display the result in a new cell instead of in widgets.Output(), it works well.
Is there any way I can put the result in Output? Because I want to put both table and plot in single cell. If Output cannot realize this, is there other way?
Thanks
The text was updated successfully, but these errors were encountered: