Skip to content

Histogram doesn't auto calculate colorscale properties if they are undefined #7533

Description

@camdecoster

Description

The histogram trace doesn't calculate the colorscale properties (cmin, cmax, etc.) if they are undefined (meaning they aren't provided in the config).

Steps to reproduce

  • Add a log statement for the domain here: console.log({ domain })
  • Run this test: npm run test-jasmine colorbar
  • Note that the log statement shows a domain of NaN values
    LOG: Object{domain: [NaN, NaN, NaN, NaN, NaN, NaN]}

Notes

Activity

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

Metadata

Metadata

Assignees

Labels

P3backlogfeaturesomething new

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions