Skip to content

minor regression: customdata is sometimes a tuple  #3292

Closed
@nicolaskruchten

Description

@nicolaskruchten

This returns a numpy array in 4.14.3 and a tuple in 5.1.0:

import plotly.express as px
fig = px.scatter(px.data.tips(), x="total_bill", y="tip", custom_data=["sex"])
fig.data[0].customdata

Ideally we would get back to the old behaviour if possible.

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions