[Feature request] adding Subplot titles
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Is there any function like the python version:
fig = tools.make_subplots(rows=2, cols=2, subplot_titles=('Plot 1', 'Plot 2','Plot 3', 'Plot 4'))
https://plot.ly/python/subplots/#simple-subplot
I spent hours today trying to figure that out, the only workaround I found is here:
https://stackoverflow.com/questions/37285729/how-to-give-subtitles-for-subplot-in-plot-ly-using-r
But it might get into trouble when your dataset is dynamic and shareX = T, which you don't know what subplot goes to which location.
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
Start by comparing the requested R subplot-title behavior with the linked Python tools.make_subplots example and the workaround described for dynamic datasets with shareX = T. Done means subplot titles map reliably to their subplot positions, including when the dataset is dynamic, and the R API exposes this behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100