You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in #3819, notifications do not seem to work without a template. They do not work in a notebook either.
I've not seen anything that says this is expected behavior (they do not work in the dedicated docs notebook), so I report it as a bug.
importpanelaspnpn.extension(notifications=True)
defcallback(event):
pn.state.notifications.error('Error')
button=pn.widgets.Button(name='Display error')
button.on_click(callback)
without_template=Trueifwithout_template:
button.servable() # does not workelse:
pn.template.FastListTemplate(main=[], sidebar=[button]).servable() # works fine
The text was updated successfully, but these errors were encountered:
Panel 0.13.1
As mentioned in #3819, notifications do not seem to work without a template. They do not work in a notebook either.
I've not seen anything that says this is expected behavior (they do not work in the dedicated docs notebook), so I report it as a bug.
The text was updated successfully, but these errors were encountered: