-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hey LaurentRDC!
I'm trying out the new feature to include bokeh interactive plots and run into the problem that the dimensions of the embedded figure are hardcoded to 600x600 px. If I understand correctly the main reason is the usage of the embed tag to embed the entire HTML document created by bokeh. For bokeh this is not necessary, it can generate a script and a div tag that can be embedded in any html file (documentation). This way no embed tag needs to be used, no dimensions need to be hardcoded and the resulting html file is standalone (currently plots are stored in plots/).
I'm not sure how the situation looks for plotly. I couldn't find a solution with a quick google search, but I'm pretty sure it should be possible. Alternatively one could only use the embed tag for plotly but use the div tag for bokeh.
I would provide and example implementation, but unfortunately I'm not well versed in haskell.
Best,
syntonym