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