Closed
Description
Bug report
Passing the edgecolor="none" to the matplotlib.pyplot.bar does not remove the edges from the bars in the plot.
Code for reproduction
import numpy as np
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
data = [61, 96, 75, 96]
ind = np.arange(len(data))
rects1 = ax.bar(ind, data, alpha=0.3, color="blue", edgecolor="none")
# This is a workaround that solves the problem and proves that the edgecolor argument is not used
# for r in rects1:
# r.set_edgecolor("none")
plt.show()
Actual outcome
Expected outcome
(produced by adding the commented out code)
Matplotlib version
- Operating system: Linux Mint 18.3 Cinnamon 64-bit
- Cinnamon version: 3.6.7
- Linux Kernel: 4.4.0-122-generic
- Matplotlib version: 2.2.2
- Matplotlib backend (
print(matplotlib.get_backend())
): TkAgg - Python version: 3.5.2
matplotlib installed by pip3 install matplotlib