Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning received when using color aesthetic with geom_point #660

Open
bobbygs opened this issue Mar 14, 2019 · 0 comments
Open

Warning received when using color aesthetic with geom_point #660

bobbygs opened this issue Mar 14, 2019 · 0 comments

Comments

@bobbygs
Copy link

bobbygs commented Mar 14, 2019

Running this code:
ggplot(aes(x='carat', y='price', color='cut'), data=diamonds) + geom_point()

Gives this warning:
'c' argument looks like a single numeric RGB or RGBA sequence, which should be avoided as value-mapping will have precedence in case its length matches with 'x' & 'y'. Please use a 2-D array with a single row if you really want to specify the same RGB or RGBA value for all points.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant