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

Make inline=False the default behavior for hv.extension #5730

Closed
hoxbro opened this issue May 26, 2023 · 3 comments
Closed

Make inline=False the default behavior for hv.extension #5730

hoxbro opened this issue May 26, 2023 · 3 comments

Comments

@hoxbro
Copy link
Member

hoxbro commented May 26, 2023

I want to start a discussion about making inline=False the default behavior for hv.extension in notebooks.

In my opinion, it would be better to have inline=False as the default behavior. I think inline=True was meant for airgap environments and not something most users need.

It will reduce the file size significantly. A quick comparison with inline=True and inline=False shows that the file size is 18 MB vs 45 KB, respectively.

Some problems that have also come up recently where it is not obvious that it is related to inline=True:

  1. Plotly cannot load in VS code with inline=True:

  2. Bokeh gives Javascript error in Jupyter Notebook:

*) This seems to have been fixed by not loading MathJax by default because of holoviz/panel#4895, but it will come back with #5729.

As this is a breaking change, it should be implemented at 1.17 as a minimum.

@MarcSkovMadsen
Copy link
Collaborator

Sounds like a very good idea to me 👍

@maximlt
Copy link
Member

maximlt commented Jun 6, 2023

Closed by #5729

@maximlt maximlt closed this as completed Jun 6, 2023
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants