You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(plotly)
set.seed(123)
n=10random= rnorm(n)
df=data.frame(x=LETTERS[1:n],
y=random,
group1=LETTERS[1:2], # No of unique groups < no of labels on x-axisgroup2=LETTERS[1:n], # No of unique groups = no of labels on x-axisymin=random+0.1,
ymax=random-0.1)
# Works fine
ggplot(df, aes(x, y, ymin=ymin, ymax=ymax, color=group1)) + geom_point() + geom_errorbar()
ggplotly()
# gggplotly() shows +- NaNs for ymin and ymax
ggplot(df, aes(x, y, ymin=ymin, ymax=ymax, color=group2)) + geom_point() + geom_errorbar()
ggplotly()
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: