Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Assignees
Labels
P3backlog bugsomething broken
Milestone
@nicolaskruchten

Description

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

Labels

P3backlog bugsomething broken

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /