Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix colab #6269

Merged
merged 2 commits into from
Jun 7, 2024
Merged
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
3 changes: 2 additions & 1 deletion holoviews/plotting/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,9 @@ def components(self, obj, fmt=None, comm=True, **kwargs):
src is source or (src._plot_id is not None and src._plot_id == source._plot_id)
for src, streams in registry for s in streams
)
if config.comms == 'colab':
load_notebook(config.inline)
embed = (not (dynamic or streams or self.widget_mode == 'live') or config.embed)

if embed or config.comms == 'default':
return self._render_panel(plot, embed, comm)
return self._render_ipywidget(plot)
Expand Down