Skip to content

group should not create multiple traces #381

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

Closed
cpsievert opened this issue Jan 5, 2016 · 4 comments
Closed

group should not create multiple traces #381

cpsievert opened this issue Jan 5, 2016 · 4 comments

Comments

@cpsievert
Copy link
Collaborator

The group argument in plot_ly() should probably be translated the same way as ggplot2's group aesthetic.

Among other things, this would make it easier to create candlestick charts requested in #351

@pstoyanov
Copy link

I don't know if you are referring to the same issue but it seems that color and symbol create a new trace too, which is very different from ggplot. ggplotly lumps color and symbol together to form a new aesthetic. I asked a question on SO about it: http://stackoverflow.com/questions/34582584/how-to-simultaneously-apply-color-shape-size-in-a-scatter-plot

Don't know if this is intentional, I am still very new to plotly.

@alyst
Copy link
Contributor

alyst commented Jan 11, 2016

+1: looks like group overrides color argument

@alyst
Copy link
Contributor

alyst commented Jan 13, 2016

@cpsievert I would like to fix this, but at the moment I don't have a good understanding of R plotly and plotly.js internals. It looks like the colors are not assigned in traceify(); does it at all happen in R or in plotply.js? Could you please give me some clues where to look? TIA!

@cpsievert
Copy link
Collaborator Author

Closed via d2bf2a1.

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

Successfully merging a pull request may close this issue.

3 participants