geom_GeomLabel() has yet to be implemented in plotly.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- R
- Sterne
- 2.7k
- Forks
- 641
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
library(ggplot2)
library(plotly)
end_points <- iris %>%
group_by(Species) %>%
filter(Sepal.Length == max(Sepal.Length))
# Create the plot
g = ggplot(iris, aes(x = Sepal.Length, y = Sepal.Width, color = Species, group = Species)) +
geom_line() +
geom_label(data = end_points, aes(label = Sepal.Length), color = "white", vjust = -0.5) +
theme_minimal()
ggplotly(g)
Result:
Warning message:
In geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
geom_GeomLabel() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues
I would like to see this implemented. Thanks for making a great package available in R!
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
Beginne damit, das bereitgestellte R-Beispiel auszuführen und die geom2trace.default-Warnung für geom_GeomLabel() nachzuverfolgen. Verwende das geom_label-Beispiel von ggplot2 als Verhaltensreferenz; als erledigt gilt die Aufgabe, wenn ggplotly die Beschriftungen rendert, ohne zu melden, dass GeomLabel nicht implementiert ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- r
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100