unexpected results using ggplotly and geom_dotplot()
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- R
- Sterne
- 2.7k
- Forks
- 641
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hello! Thank you so much for your work on this great package.
I am having some trouble getting dot plots to work with plotly. For example, take a look at the following example from the documentation for geom_dotplot().
library(ggplot2)
p <- ggplot(mtcars, aes(x = factor(cyl), y = mpg)) +
geom_dotplot(binaxis = "y", stackdir = "center")
p
#> `stat_bindot()` using `bins = 30`. Pick better value with `binwidth`.

Created on 2018-03-07 by the reprex package (v0.2.0).
When I then try to render this with plotly:
library(plotly)
ggplotly(p)
I get a blank plot.

I am getting lots of weird problems like this with my real data as well.
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
Beginnen Sie mit dem reproduzierbaren R-Beispiel im Issue und verwenden Sie ggplot2s geom_dotplot() sowie plotlys ggplotly(), um den Quellplot mit der leeren Ausgabe zu vergleichen. Erledigt ist die Aufgabe, wenn der bereitgestellte Dotplot korrekt über ggplotly gerendert wird; im Bericht wird keine Repository-Datei und kein Test identifiziert.
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