0

I am making a single plot. I am using the code below. There are 5 bars in the plot. There is a black rectangle that surrounds the bars. I don't want that black rectangle to be there. How do I remove it from the plot?

mydata['var'].plot(kind='barh',linewidth=0,width=.9) plt.show() 

1 Answer 1

1

use edgecolor=None parameter while calling the plot function.

mydata['var'].plot(kind='barh', linewidth=0, width=.9, edgecolor=None) 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.