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

plotlyMinJs method extend options #23

Open
safrazRampersaud opened this issue Feb 7, 2018 · 0 comments
Open

plotlyMinJs method extend options #23

safrazRampersaud opened this issue Feb 7, 2018 · 0 comments

Comments

@safrazRampersaud
Copy link

Hello @alexarchambault !!

I'm looking at "Plotly.scala" in the /plotly-scala repo and considering method "plotlyMinJs". The InputStream is hard coded to s"META-INF/resources/webjars/plotly.js/$plotlyVersion/dist/plotly.min.js".

I'd like to work off-line exclusively once I have downloaded "plotly-latest.min.js" to produce browser based plots using plot.js. What are your thoughts about modifying method "plotlyMinJs" file to accept local resources, e.g., is = getClass.getClassLoader.getResourceAsStream(s"./plotly-$plotlyVersion.min.js") where $plotyVersion = "latest"? Thanks!

Best,
SR

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

1 participant