SciNim / nim-plotly

plotly wrapper for nim-lang
https://scinim.github.io/nim-plotly/
MIT License
173 stars 15 forks source link

plots autoresize; plus other fixes #39

Closed timotheecour closed 2 years ago

timotheecour commented 5 years ago

/cc @Vindaar @brentp caveat: this will ignore given size settings; auto resize is a better default than a fixed arbitrary size, but we shd honor size if provided by user; let me know if u have a quick way to patch this PR to do that

timotheecour commented 5 years ago

I think you might just need to set the plot div to have a %, like:

first thing I tried, but it didn't work; if you find a simpler way let me know :) will update shortly to address remaining comments

Vindaar commented 2 years ago

Closing in favor of #72.