No matter where I looked in the document, I couldn't find it even when I asked Google teacher, so I made a memorandum.
from ipywidgets import Text, Tab
list = ['P0', 'P1', 'P2']
titles = {0:'P0', 1:'P1', 2:'P2'}
children = [Text(description=name) for name in list]
tab = Tab(children=children, _titles=titles)
tab
Recommended Posts