Created
December 9, 2024 17:37
-
-
Save summerofgeorge/5c72b8adaf408d8ed1d73ba15afd75e0 to your computer and use it in GitHub Desktop.
Faceted boxplot plotnine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ggplot(penguins_df, aes(x='sex', y='bill_length_mm', fill='species')) | |
+ geom_boxplot() | |
+ facet_wrap('~species') | |
+ labs(title="Bill Length by Sex and Species", | |
x="Sex", | |
y="Bill Length (mm)") | |
+ theme_classic()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment