Skip to content

Trendline returns empty dataframe if color is set #5139

Open
@Spider2themax

Description

@Spider2themax

fig = px.scatter(df, x="value1", y="value2", trendline="ols", color="colorcolor")

has resulted in:

results = px.get_trendline_results(fig)
print(results)

If I remove the color, then it works as expected. I don't know why a priori, trendline and color wouldn't be possible at the same time?

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