Skip to content

swarmplot doesn't recognize hue when either the x or y parameter is omitted #941

Closed
@izaakm

Description

@izaakm

Similar to the example for swarmplot, I would expect the following to color points by the "sex" column:

tips = sns.load_dataset("tips")
ax = sns.swarmplot(y="total_bill", hue="sex", data=tips)

But all points are the same color.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions