Description
Our current example does a nice job of scaling the colors but the labels in the colorbar are a little too condensed:
I recognize that this may be a limitation of our colorscale axis (there is no log
type), but could we have another example that "fakes" it by:
- Setting custom
ticktext
andtickvals
- Normalizing the
z
data if necessary - Remapping the hover data so be the un-normalized values
The solutions team (cc @ycaokris ) has been mapping data to color with logarithmic values lately, which is why I'm thinking it would be helpful to have a better recipe in our docs. Here are some colorscales I've seen from some sample apps:
The logarithmic colorscales that I'm thinking about are more like this:
Once this is updated, we should provide a backlink to the documentation by commenting in the Stack Overflow question about this topic: https://stackoverflow.com/questions/50392372/logarithmic-color-scale-in-plotly