I am new to Jupyter notebooks (obviously). I have been reading docs and burning a lot of time, I just can’t seem to find an ipywidgets example or documentation of how to add to an accordion container.
A couple of docs I have found, a video from 2014, and a website:
Firstly, I gather there are three common widget libraries? They ipywidgets, an IPython specific library, and the brokeh library, that are all different? Is this a historical evolution and ipywidgets is now the way to go? Perhaps ipywidgets and the brokey widgets are two separate routes? Does the brokey library use a separate server than the jupyter server?
Given that I start with this:
import ipywidgets as widgets accordion = widgets.Accordion(children=[widgets.IntSlider(), widgets.Text()], titles=('Slider', 'Text')) display(accordion)
The read the docs doc,
has no example of adding a widget.
An IPython widgets doc, and the brokeh docs show examples of using an
append method, but
accordion (from the code just above) and
accodion.children have no
Any pointers appreciated.