Skip to content

DateTime object not rendered correctly in plot tooltip #2518

Closed
@samjett247

Description

@samjett247

I noticed that DateTime objects in Python do not render correctly in the plot tooltips when they are included as hover_data arguments in plotly express functions. See example below.
image

Desired behavior would be the way that IPython renders the DateTime objects using the display function. See below:
image

The exact datatype of the Timestamp Series is dtype('<M8[ns]'), which is a numpy specific dtype.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions