Set `height` in `ploty_ly` and use `height = "auto"` in `plotlyOutput`
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
In the doc of plotlyOutput, the usage of height="auto" is not encouraged. However using height="auto" in plotlyOutput and setting height in the plot_ly function gives a perfect result, and this is very useful to have the ability to set the height in the plot_ly function. So I think this "trick" should be mentioned in the doc.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the plotlyOutput documentation and its current guidance about height="auto", then review the plot_ly documentation for the height argument. Update the documentation to describe using height="auto" in plotlyOutput together with a height set in plot_ly, and verify that the rendered wording clearly explains this usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100