Not all facets being shown with facet_wrap, boxplot and ggplotly
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- R
- Sterne
- 2.7k
- Forks
- 641
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
@cpsievert I'm seeing several open issues that are similar to this one (#1132, #1962, #1301, #1254, #1243, #1099, #1086, #897) and wasn't sure whether to add a new issue or not.
It seems like perhaps plotly is having some trouble with facet_wrap() -- my reprex is pretty simple. On my machine using the development (and non-development) version of plotly some facets are not being shown.
The images below are from plotly 4.9.4.9000.
library(ggplot2)
p <- ggplot(mtcars, aes(y = mpg)) + geom_boxplot() + facet_wrap(~cyl)
plotly::ggplotly(p)
Just ggplot2 (no plotly)

ggplotly (missing a couple of boxes)

Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Führen Sie zunächst das R-reprex mit ggplot2s facet_wrap() und plotly::ggplotly() aus und vergleichen Sie anschließend die gerenderten Facetten mit den bereitgestellten Screenshots. Die Arbeit ist abgeschlossen, wenn ggplotly jedes Facettenfeld anzeigt, das vom ursprünglichen ggplot2-Plot erzeugt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- r
- Bereich
- data-visualization
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100