Skip to content

histogram() got an unexpected keyword argument 'legend' with pandas backend #2706

Closed
@ghost

Description

pandas version 1.1.0
plotly version 4.9.0

The following will raise histogram() got an unexpected keyword argument 'legend' :

import pandas as pd
pd.options.plotting.backend = "plotly"
df = pd.DataFrame()
df.hist()

I suggest to add legend in the skip list:

skip += ["ax", "sharex", "sharey", "figsize", "layout", "bins"]

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