-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
texttemplate for heatmaps & histogram2d traces #1116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Interesting.
Why not use a scatter trace on top of the heatmap trace? |
Then I have to make nrows scatter traces, which seems worse than the existing annotations. If we are allowed to use
|
i translated |
This should be done in my opinion. I dont like using figurefactory for subplotting heatmaps. It is a pain extracting all the data out and making sure you have everything to be placed in the new subplot correctly. The same goes for annotations when doing a go.Heatmap. This utility would be great, especially if you could adjust the size, family, and color of the text. Maybe an annotation kwarg would be ideal for Heatmap types. And something to control word wrapping? |
Was this ever added? It's such a pain to manually create the values for annotating when they're already there in the tooltip to use. |
We definitely want to do this, and it would be great to get an outside contributor to help :) |
Instead of a text |
Yeah let's not add a mode, let's add a showtext attribute or something and texttemplate |
For a heatmap, it is not very easy to do annotations that simply show text for each grid. (One has to specify
x, xref, y, yref, ...
.Can we borrow the idea from
scatter
, by introducing amode
parameter that allows to display text as well as marker/line?The text was updated successfully, but these errors were encountered: