You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'll need a new attribute for this - exposed in all 2d-z trace types (heatmap, contour, contourcarpet, histogram2d*, surface).
Anyone want to take a shot at naming this new attribute? e.g. hovernanvalue or hovernan?
In relation to #3035 and #975, maybe this new attribute could be a valType: 'string'. For example,
hovernan: 'blank'// would show `z: blank` in the hover label
hovernan: ''// or maybe handle
hovernan: null// to omit the `z: ` line in the hover label.
Moveover, should this new attribute only affect hover labels generated via hoverinfo or should it also affect the %{z} values in hovertemplate strings. For example,
I like it. And I see hoveron is used at least with box, parcats, scatter, scattergl, scattercarpet, scatterternary and violin.
Is there any conflict with the traces mentioned in #4226 (comment)?
Activity
emmanuelle commentedon Sep 26, 2019
we want the possibility to remove this hover on null/NaN regions
etpinard commentedon Oct 4, 2019
We'll need a new attribute for this - exposed in all 2d-z trace types (heatmap, contour, contourcarpet, histogram2d*, surface).
Anyone want to take a shot at naming this new attribute? e.g.
hovernanvalueorhovernan?In relation to #3035 and #975, maybe this new attribute could be a
valType: 'string'. For example,Moveover, should this new attribute only affect hover labels generated via
hoverinfoor should it also affect the%{z}values inhovertemplatestrings. For example,etpinard commentedon Oct 4, 2019
Or wait, looks like this ticket actually wants to suppress the entire hover label (not just the
z:line) when hovering over a NaNzvalue.Perhaps, in this case a boolean makes more sense: For example:
hoveronnan, but maybe that's a little too hard to make up in smashtogethercase.archmoj commentedon Oct 11, 2019
What about
hovermissing?archmoj commentedon Oct 11, 2019
Or
hoverignore?nicolaskruchten commentedon Oct 11, 2019
can we reuse
hoveron?nicolaskruchten commentedon Oct 11, 2019
like
hoveron = "all" | "nonnan"archmoj commentedon Oct 11, 2019
I like it. And I see
hoveronis used at least withbox,parcats,scatter,scattergl,scattercarpet,scatterternaryandviolin.Is there any conflict with the traces mentioned in #4226 (comment)?
archmoj commentedon Oct 18, 2019
@emmanuelle would you mind testing the hover behaviour on missing points using this codepen?
Updated the demo link.