width, height = 400, 300
bunch = GGBunch()
bunch.add_plot(ggplot(iris_df, aes("species", "sepal_length")) + \
geom_violin(trim=True) + \
ggtitle("trim=True (default)"),
0, 0, width, height)
bunch.add_plot(ggplot(iris_df, aes("species", "sepal_length")) + \
geom_violin(trim=False, tails_cutoff=1) + \
ggtitle("trim=False, tails_cutoff=1"),
width, 0, width, height)
bunch.add_plot(ggplot(iris_df, aes("species", "sepal_length")) + \
geom_violin(trim=False, tails_cutoff=2) + \
ggtitle("trim=False, tails_cutoff=2"),
0, height, width, height)
bunch.add_plot(ggplot(iris_df, aes("species", "sepal_length")) + \
geom_violin(trim=False, tails_cutoff=3) + \
ggtitle("trim=False, tails_cutoff=3 (default)"),
width, height, width, height)
bunch.show()