Closed
Description
The code
import matplotlib.pyplot as plt
def makeItGreen(boxpl):
for key in boxpl:
for obj in boxpl[key]:
plt.setp(obj, color="green")
plt.clf()
x = [0.15, 0.11, 0.06, 0.06, 0.12, 0.56]
bp = plt.boxplot(x, sym="o")
makeItGreen(bp)
plt.show()
should create a boxplot with an outliner and then color everything green. This works as expected with matplotlib 1.3.1. With 1.4.0, the outlier does not change its color but remains blue. In 1.3.1, boxplot() returned a structure whose "fliers" field contained two objects; now there is just one.
Metadata
Metadata
Assignees
Labels
No labels