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

Feature Request: Download visualizations as HTML & Javascript #81

Closed
murielgrobler opened this issue Jul 13, 2023 · 4 comments
Closed
Labels
enhancement New feature or request

Comments

@murielgrobler
Copy link

Would love to be able to download the HTML & Javascript the same way you can with bokeh. This way I can use the visualizations on my website!

@flekschas flekschas added the enhancement New feature or request label Jul 13, 2023
@flekschas
Copy link
Owner

Thanks to the fabulous @manzt you can convert notebooks with jscatter to HTML using nbconvert again! Make sure to install version >=7.7.0 (or alternatively a version <=6.4.4). Then all you need to run is:

jupyter nbconvert --execute --to html notebooks/get-started.ipynb

Is this what you had in mind?

The view, selection, and hover synchronization unfortunately don't work yet in the HTML export but the scatter plot appear properly.

@flekschas
Copy link
Owner

I created a ticket for enabling pure JS-based view, selection, and hover linking, which will come in handy when exporting notebooks to HTML: #82

@flekschas
Copy link
Owner

@murielgrobler Did you have a chance to give nbconvert a try? I think it should do the trick.

@flekschas
Copy link
Owner

I'm closing this ticket as I think it's addressed. If you still have trouble with exporting, please reply or reopen the ticket :)

The follow up work to get linking working in the exported file is tracked via #82.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants