Skip to content

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

Description

@wbrgss

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

Activity

  1. 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[/+] on Jan 6, 2020
  2. 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[/+] on Jan 6, 2020
  3. 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[/+] on Jan 6, 2020
  4. etpinard commented on Jan 7, 2020

    @etpinard
    Contributor

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

  5. etpinard commented on Jan 7, 2020

    @etpinard
    Contributor

    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.

  6. wbrgss commented on Jan 7, 2020

    @wbrgss
    ContributorAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions