ordr: would please like geom_GeomAxis() implemented in plotly
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- plotly, r
- Domain
- data-visualization
Research direction
Start by running the provided ordr::ggbiplot example and calling plotly::ggplotly(p) to reproduce the “geom_GeomAxis() not implemented” error. Trace how ggplotly handles the plot layers, then add support for GeomAxis and verify that the example converts without that error and preserves the axes in the resulting plot.
Written by the indexing model from the issue text.
Description
I want to use plotly on a GG of a biplot using package ordr. Creating issue as advised.
# Example taken from ordr::ggbiplot
# Also partly from <https://corybrunson.github.io/ordr/>
library(ordr)
# PCA of iris data
iris_pca <- ordinate(iris, cols = 1:4, prcomp, scale = TRUE)
# row-principal predictive biplot
p <- ggbiplot(iris_pca, sec.axes = "cols", scale.factor = 2) +
geom_rows_point(aes(color = Species, shape = Species)) +
stat_rows_ellipse(aes(color = Species), alpha = .5, level = .99) +
geom_cols_vector() +
geom_cols_text_radiate(aes(label = name)) +
expand_limits(y = c(-3.5, NA)) +
ggtitle("PCA of Anderson's iris measurements",
"99% confidence ellipses; variables use top & right axes")
# GGplot as seen in <https://corybrunson.github.io/ordr/>
p
# Plotly of GGplot, but "geom_GeomAxis() not implemented"
plotly::ggplotly(p)
- Dominant language
- R
- Stars
- 2.7k
- Forks
- 641
- PR merge metrics
- No merged PRs in 30d
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.
More from plotly/plotly.R
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
save_image Error Open
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Similar issues
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
ThinkR-open/datadiff#59 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tidymodels/parsnip#1444 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
priority: should UX
Difficulty 2/5 1-3 hours Newbie friendliness 72/100