-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Setting default colors #2136
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
Comments
Can you be more specific? You would like to make the default trace-to-trace color sequence customizable? |
@etpinard Yup! Exactly! I'd like to be able to set a specific color scheme for all chart traces to use. |
Ok. I'm thinking this should be a config option e.g. |
That sounds good to me! I'll take a stab at it tonight. |
Following the PR guidelines, I made a PR here in my own fork: cixzhang#1. Please have a look when you have time! |
@cixzhang Great PR! @etpinard and I had a discussion about this offline though, and we concluded it actually should be a top-level layout attribute, not a config option. The advantage of this is that the result is portable (on plot.ly for example We're thinking |
Thanks for the feedback! That makes sense to me. I'll take a look at implementing it as a layout attribute this evening. |
I've created a new PR with |
I have updated my PR here: cixzhang#2. Let me know if there's anything else I should do. :) |
Thanks @cixzhang we appreciate the PR and will get to it ASAP. Unfortunately that may be a few days as our core plotly.js team is either on vacation or dealing with unforeseen events. Everything should be back to normal next week. Thanks again. |
Done in #2156 |
Could we have a way to override the default colors for plotlyjs?
I'm willing to work on this feature.
The text was updated successfully, but these errors were encountered: