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

Embedding javascript in the output HTML tmap file #13

Open
aparente-nurix opened this issue Jul 1, 2020 · 2 comments
Open

Embedding javascript in the output HTML tmap file #13

aparente-nurix opened this issue Jul 1, 2020 · 2 comments

Comments

@aparente-nurix
Copy link

When generating a tmap in an jupyter notebook, the output is a single HTML file that includes the javascript used to plot the map within the HTML file. Oddly, when turning the same code into a script, it generates the .js and .html files separately. Is there an option that can be called to embed the javascript within the html file, such that there's only one file thats created?

@Lerbytech
Copy link

As far as I know, js script can be embedded to html file. Thus, you can write simple script to merge two files together. I think that BeautifulSoup is good enough to help you with this mission

@aparente-nurix
Copy link
Author

aparente-nurix commented Jul 8, 2020 via email

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

No branches or pull requests

2 participants