def color_boxplot(bp,COLOR):
'''
The Boxplot defaults are awful.
This is a little better
'''
pylab.setp(bp['boxes'], color=COLOR, edgecolor=COLOR)
pylab.setp(bp['whiskers'], color=COLOR, ls='-', lw=1)
pylab.setp(bp['caps'], color=COLOR, lw=1)
pylab.setp(bp['fliers'], color=COLOR, ms=4)
pylab.setp(bp['medians'], color=GATHER[-1], lw=1.5, solid_capstyle='butt')
####################################################################### Three isoluminance hue wheels at varying brightness
# Unfortunately the hue distribution is a bit off for these and they come
# out a little heavy in the red, gree, and blue. I don't reccommend using
# them
评论列表
文章目录