E425 IPywidgets reference guide does not mention you should add "ipywidgets" to pn.extension · Issue #2594 · holoviz/panel · GitHub
[go: up one dir, main page]

Skip to content

IPywidgets reference guide does not mention you should add "ipywidgets" to pn.extension #2594

@MarcSkovMadsen

Description

@MarcSkovMadsen

I'm creating a larger app where I optionally want to display Ipywidgets/ IPyleaflet if a button is clicked. I can see that in order for ipyleaflet to get loaded on button click I need to "ipywidgets" when I run pn.extension. This is not mentioned in the reference guide https://panel.holoviz.org/reference/panes/IPyWidget.html#panes-gallery-ipywidget.

image

Solution

Replace pn.extension with pn.extension("ipywidgets") in the reference guide.

Additional Context

If I instantiate ipyleaflet as a part of serving the application ipyleaflet loads without problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0