Skip to content

Annotated heatmap bug when some x can be casted as int #2782

Closed
@bensdm

Description

@bensdm

There is a display bug when some x element can be casted as int:

import plotly.figure_factory as ff ff.create_annotated_heatmap(np.random.rand(3,3), x=['2019', '2020', 'total'], y=[1,2,3])
image
works fine adding a underscore
ff.create_annotated_heatmap(np.random.rand(3,3), x=['2019_', '2020_', 'total'], y=[1,2,3])
image

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