PtitPrince
PtitPrince copied to clipboard
Reduce "empty" space between raincloud plots
Hello!
Is there a way how to reduce "empty" white space between individual raincloud plots (highlighted by the red arrow in the screenshot below)?

Thank you!
I am looking to do the opposite as above haha My rainclouds are much too close to each other in the x-axis, I would like to increase that distance. It doesn't seem like such distance is hard coded unfortunately, we might have to either play with the scale and play with the xticks amount (in my case by doubling them and skipping half of them, in the above question I'm not sure if that even would work since ticks are supposed to match integers...)
Playing with the gap
parameter of each element seem like a good idea to me, see eg this. For instance you can start by setting box_gap=0.1
and see what happens.
UPDATE: wrong answer probably. I'd actually adjust the figure width in
f, ax = plt.subplots(figsize=(7, 5))
Adjusting the figure size makes the plots thinner :( Is there any other fix?