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
There is something wrong in the code concerning legends for groups when you try to use scale_color_discrete() to set a property.
This has to do with the use of color and fill in geom_polygon().
I think this is the kind of hassle that drove a quiet API change in {ggplot2}, decided here. The duplication can also be relaxed by using the then-newly exposed aesthetics argument:
There is something wrong in the code concerning legends for groups when you try to use
scale_color_discrete()
to set a property.This has to do with the use of
color
andfill
ingeom_polygon()
.The following example produces two legends:
See the result at:
https://github.com/friendly/ggbiplot/blob/master/man/figures/README-wine-biplot-1.png
The text was updated successfully, but these errors were encountered: