Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions panel/pane/holoviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,10 +1010,11 @@ def link_axes(root_view, root_model):
Viewable._preprocessing_hooks.append(find_links)

def _hvplot_interactive_transform(obj):
if 'hvplot.interactive' not in sys.modules:
mod = sys.modules.get('hvplot.interactive')
if mod is None:
return obj
from hvplot.interactive import Interactive
if not isinstance(obj, Interactive):
Interactive = getattr(mod, 'Interactive', None)
if Interactive is None or not isinstance(obj, Interactive):
return obj
return bind(lambda *_: obj.eval(), *obj._params)

Expand Down