Hello,
According to manual, ``clear_output`` event should clear whole cell output.
But with the following code
from ipywidgets import widgets
from IPython.display import clear_output
out = widgets.Output(layout={'border': '1px solid black'})
out.append_display_data(10)
display(out)
display("20")
out.clear_output()
only "10" is cleared, while "20" stays untouched.
I sniffed websocket, and I see absolutely regular "clear_output" is sent.
Then, how does jupyter "understands" that only widget content must be
cleared? This is not comm message, so no connection to widget is made.
How does it work?
Any help (doc or source link probably) is appreciated.
Thank you.
Ilya.
--
You received this message because you are subscribed to the Google Groups
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/11d9b97c-5827-4b48-b424-63c92c8f6de5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.