question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Standardize colorscale attrs

See original GitHub issue

Right now we support some nice color-related attrs in Style/Trace for the surface/heatmap traces that should also appear in scatter and other non-covering traces, like showscale, reversescale, cmin, cauto etc. They’re mapped to marker.X in the latter case, and for the various scatter options, they also exist for line.X.

Also, there’s some weirdness in Heatmap traces around zauto which should be resolved similarly…

Surface (c*):

image

Heatmap (z*):

image

Scatter (marker.c* missing):

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolaskruchtencommented, Jul 24, 2018

/cc @VeraZab I think that @dmt0 can resolve this pretty quickly after #605 is merged, and it doesn’t really impact the color work you’re doing, it’s still sort of “around” 😃

0reactions
nicolaskruchtencommented, Jul 24, 2018

(note: we’re not currently supporting line.color as anything other than constant so plz ignore that part of this issue!)

Read more comments on GitHub >

github_iconTop Results From Across the Web

matplotlib.colors.Colormap — Matplotlib 3.6.2 documentation
ScalarMappable make heavy use of this data -> normalize -> map-to-color processing chain. Parameters: namestr. The name of the colormap. Nint.
Read more >
Matplotlib.colors.Normalize class in Python
This module is used for mapping numbers to colors or color specification conversion in a 1-D array of colors also known as colormap....
Read more >
Color bars in multi subplots doesn't follow the same scale
You have to normalize the color range (look at cmax , cmin in the docs. Alternatively, you can use a ScalarMappable , i.e....
Read more >
Any suggestions on adding color bar and indicators ...
I'm frustrated about how to add a color bar and indicators corresponding to point attributes (e.g., height or intensity).
Read more >
Graduated colors
To normalize the data, choose a field from the Normalization menu. ... you can also symbolize additional attributes by varying the transparency, rotation, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found