Can only have one: config
Open
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
Description
Brief description of the problem:
In the subplot function, if I input a mix of ggplot2 object and plotly object, I got 'Warning message: Can only have one: config'. How to fix the warning?
Below is an example.
library(plotly); library(ggplot2)
g <- ggplot(diamonds, aes(x=carat, y=price, color=cut)) + geom_point()
p <- plot_ly(z = volcano, type = "heatmap")
subplot(ggplotly(g), plot_ly(type="heatmap"), p, nrows=2, shareX=TRUE, shareY=TRUE)
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 running the supplied R example with ggplot2 and plotly, then trace subplot handling for the mixed ggplotly and plotly objects. The payload names no implementation file or test; done means determining and addressing the source of the “Can only have one: config” warning without breaking the shown subplot case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100