Skip to content

hover_data in PX doesn't accept df.index #2760

@nicolaskruchten

Description

@nicolaskruchten

In wide-mode I can't do this:

import plotly.express as px
df = px.data.stocks(indexed=True)
fig = px.line(df, hover_data={df.index: "|%B %d, %Y"} )

or find any other way of referring to the index.

Metadata

Metadata

Assignees

Labels

P3backlogbugsomething broken

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions