streamz
streamz copied to clipboard
Show streamz.DataFrame in notebook with ipywidgets>8
ipywidgets version 8.0 no longer uses _ipython_display_
, giving the following error in a notebook when trying to display a streamz dataframe.:
This PR adds a check for __repr_mimebundle__
and uses it if it exists.
https://user-images.githubusercontent.com/19758978/189519705-e60d336d-ccfe-491a-a84b-fe49b0c9c30b.mp4
Funny that the fix for deprecated _ipython_display_
is inside a function of the same name :)
This makes sense, thank you.
It seems this CI needs a little attention :|
Funny that the fix for deprecated ipython_display is inside a function of the same name :)
Yeah, the irony was not lost on me either.
I have not yet had much success fixing things in #455 ; the problem stems from the deprecation of loop=
in dask-distributed, conflicting with the old tornado logic still scattered around this repo.
No worries, nothing urgent in getting this merged.