Standardize colorscale attrs
See original GitHub issueRight 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*
):
Heatmap (z*
):
Scatter (marker.c* missing
):
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
/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” 😃
(note: we’re not currently supporting
line.color
as anything other than constant so plz ignore that part of this issue!)