SciProgCentre / plotly.kt

An interactive Kotlin wrapper for plotly visualization tools
https://sciprogcentre.github.io/plotly.kt/
Apache License 2.0
148 stars 21 forks source link

Self-contained HTML files #24

Closed dector closed 4 years ago

dector commented 4 years ago

Right now some HTML file assets are loaded from the Internet.

I can implement solution for building self-contained HTML files for offline use.

altavir commented 4 years ago

It would be nice. I thought about that just today. We can add a flag for that in 'writeFile' options.

dector commented 4 years ago

Nice. Will try to create PR this week

altavir commented 4 years ago

It seems like self-contained html weight too much. Maybe it is better to download js and put it into the same directory. This way several plots could share it.

altavir commented 4 years ago

Done via 1531db288309289a870515d66a31dc5e79591195