I have a bar plot and I can successfully turn the fill color to transparent. Now I'd like to change the edge to a dashed line, instead of a solid.
df.plot(kind='barh', x='state', y='population', color=[1,0,0,0], edgecolor='blue', width=0.5)
I've tried edgestyle
, I've tried style='-'
and '--'
.
Is dash-ing only available for line plots?
df.plot(kind='barh', x='state', y='population', color=[1,0,0,0], edgecolor='blue', width=0.5, linestyle="--")
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