-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Right now px
's standard API has a hover_data
argument that accepts a list of column names to be mapped into the hoverlabel. The way it works under the hood is that it sticks all that stuff in customdata
and then uses a hovertemplate
. This means that at the moment there is no way to get anything into customdata
without it being visible in the hoverlabel.
I'd like to add a new kwarg to all PX methods called custom_data
, which would also add to customdata
, but ahead of hover_data
(with deduplication!) so that Dash apps can use customdata
.
In addition, I think it makes sense that customdata[0]
always contains the relevant index
of the data frame.
Metadata
Metadata
Assignees
Labels
No labels