[Python] Jupyter Notebook not rendering ipywidgets

Discussão em 'Python' iniciado por Stack, Maio 28, 2025.

  1. Stack

    Stack Membro Participativo

    Instead of rendering the actual widgets, it's just rendering text labels. See screenshot below.

    import ipywidgets as widgets
    from IPython.display import display

    label = widgets.Label(value='Hello!')

    display(label)
    >>> Label(value='Hello!')


    [​IMG]

    Edit


    The above works for me on my local computer, but not on a server. Both are running Python 3.6, jupyter-core==4.6.3

    Edit 2


    In response to the question by @adhg, here's the output of widgets.InsSlider() (in his question, (s)he had a typo Ins instead of Int)

    [​IMG]

    Continue reading...

Compartilhe esta Página