swarmplot doesn't recognize `hue` when either the `x` or `y` parameter is omitted
See original GitHub issueSimilar 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.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
swarmplot doesn't recognize hue when either the x or y ...
But I get an error if I try to remove x='Title' from my parameters. ax = sns.swarmplot(data=data, x='Title', y='score', s= ...
Read more >swarmplot doesn't recognize hue when either the x or y ...
Coding example for the question swarmplot doesn't recognize hue when either the x or y parameter is omitted-Pandas,Python.
Read more >seaborn.histplot — seaborn 0.12.1 documentation - PyData |
Variables that specify positions on the x and y axes. huevector or key in data. Semantic variable that is mapped to determine the...
Read more >categorical.py
def __init__(self, x, y, hue, data, order, hue_order, jitter, split, orient, ... violins using a ``hue`` variable, this parameter determines whether the ...
Read more >Data Visualization with Seaborn - Yulei's Sandbox
Create a box plot with subgroups and omit the outliers sns.catplot(x="internet",y="G3", data=student_data, kind='box', hue="location", ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

No, it doesn’t, sorry.
@mwaskom even though you don’t consider it to be a bug, would you consider a pull request to fix this?