Open mattkerlogue opened 2 years ago
On further investigation, Plotly interaction issue seems to have gone away.
Fixed issue with Plotly responsiveness in d37b577.
TLDR: although {plotly} docs claim responsive, the containing div is given a default size which fixes the size of the plot. Fix is a hack to remove the style argument from containing div which results in chart becoming responsive.
Users should probably still set width/height of their chart to give plotly the necessary aspect ratio in the underlying SVG object.
As discussed in the govuk-hugo repo
govukhugo
is probably ready for a properly release and better versioning. The R package should probably also follow suit.Things to consider: