plotly.R
plotly.R copied to clipboard
Change default plot height from 450px to something user-selected.
Hi devs,
I'm using plotly::plotlyOutput() within a shinyjqui::jqui_resizable() element in a shiny application, which works perfectly, by setting plotly::plotlyOutput(..., height = "100%"). However, all plots are initialized by default with a height of 450px (before any resizing). Is it possible to change this default, e.g., by use options(...)?
Thanks!
Best, Lennart