Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter fix in violinplot documentation #3610

Closed
HussamCheema opened this issue Jan 3, 2024 · 1 comment
Closed

Parameter fix in violinplot documentation #3610

HussamCheema opened this issue Jan 3, 2024 · 1 comment

Comments

@HussamCheema
Copy link

Kindly fix "orient" parameter in the documentation. It is set to "y" in the documentation but it only accepts "h" or "v" as parameter.

sns.violinplot(seaice, x="Extent", y="Decade", orient="y", fill=False)

to

sns.violinplot(seaice, x="Extent", y="Decade", orient="h", fill=False)

Ref: https://seaborn.pydata.org/examples/simple_violinplots.html

@mwaskom
Copy link
Owner

mwaskom commented Jan 3, 2024

"x" and "y" were added as options for orient in v0.13.0: https://seaborn.pydata.org/whatsnew/v0.13.0.html#other-features-enhancements-and-changes

@mwaskom mwaskom closed this as completed Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants