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

Can't set 'colorscale' parameter in layout.template trace[i].line for parcats trace type #4466

Closed
wbrgss opened this issue Jan 6, 2020 · 3 comments
Labels
bug something broken

Comments

@wbrgss
Copy link
Contributor

wbrgss commented Jan 6, 2020

We noticed this for parcats trace type, there may be more. I've tried autocolorscale: false as per #3100

Codepen (with comments) to demonstrate the issue: https://codepen.io/wbrgss/pen/povdZwp

@wbrgss wbrgss changed the title Can't set 'colorscale parameters in layout.template trace[i].{line|marker} Can't set 'colorscale' parameters in layout.template trace[i].{line|marker} for certain trace types Jan 6, 2020
@wbrgss wbrgss changed the title Can't set 'colorscale' parameters in layout.template trace[i].{line|marker} for certain trace types Can't set 'colorscale' parameter in layout.template trace[i].{line|marker} for parcats trace type Jan 6, 2020
@wbrgss wbrgss changed the title Can't set 'colorscale' parameter in layout.template trace[i].{line|marker} for parcats trace type Can't set 'colorscale' parameter in layout.template trace[i].line for parcats trace type Jan 6, 2020
@etpinard etpinard added the bug something broken label Jan 7, 2020
@etpinard
Copy link
Contributor

etpinard commented Jan 7, 2020

Wait, looks like the colorscale works fine from a template:

@etpinard
Copy link
Contributor

etpinard commented Jan 7, 2020

https://codepen.io/etpinard/pen/JjopEEZ

the codepen you pasted above had Plotly.newPlot('gd', data, {}) i.e. did not pass the layout template in.

@wbrgss
Copy link
Contributor Author

wbrgss commented Jan 7, 2020

damn, sorry @etpinard 🤦‍♂️
thanks for checking

@wbrgss wbrgss closed this as completed Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

2 participants