user1893354 user1893354 - 1 year ago 262
Python Question

matplotlib bar graph black - how do I remove bar borders

I'm using but I'm plotting so many points that the color of the bars is always black. This is because the borders of the bars are black and there are so many of them that they are all squished together so that all you see is the borders (black). Is there a way to remove the bar borders so that I can see the intended color?

Answer Source

Set the edgecolor to "none": bar(..., edgecolor = "none")

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download