I am drawing multiple barplots using the following DataFrame.plot call:
df.plot(kind='bar',
stacked=False,
figsize=figsize,
rot=0,
alpha=0.5,
width=width)
However, I want to increase the size between the bars within each category. How can I achieve this?
You can define an edge around your bars and change its width:
df.plot(kind='bar', edgecolor='white', linewidth=3)
It works if you want to change the space between bars within a group.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With