Skip to content

Violin Plot stops the whole of process in specific condition. #6490

@L0Z1K

Description

@L0Z1K

plotly version is 5.13.0. When I run this code, jupyter notebook stops and throw this error.

import plotly.express as px

fig = px.violin(x=[0, 0], y=[0.5006312999999999, 0.5006313])
fig.show()

image

I think there is some problem when inputs has 2 distinct types like float32 and float64. This is quite critical to person who are analyzing the data with violin plot.

I think just convert float64 to float32 in process. But I don't know how to revise the code so I just throw the issue in here.

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