Closed
Description
This was working in older ggplot versions, but now it is not working anymore on version 3.5.1. The racial coordinate should connect the ending and starting points. Using polar coordinates instead of radial also does not work.
set.seed(10)
df = data.frame(x = 1:10,
y = runif(10),
g = sample(c('A', 'B'))
)
g = (
df
%>% ggplot(.)
+ geom_polygon(aes(x=x, y=y, color=g, fill=g), alpha=.5)
+ coord_radial()
)
g
g = (
df
%>% ggplot(.)
+ geom_polygon(aes(x=x, y=y, color=g), alpha=.5, fill=NA)
+ coord_radial()
)
g
Metadata
Metadata
Assignees
Labels
No labels