pandas - How to customize the facecolor and hatch pattern of boxplot in seaborn? -


i want customize facecolor , hatched pattern of boxes in grouped boxplot.

i have examined document of seaborn , found seaborn returns matplotlib.axes._subplots.axessubplot object not dict object can use set properties of boxes in boxplot.

the closest solution have found use pandas.dataframe's boxplot method takes input argument called return_type. if return_type=true, return value of boxplot method dict object can leveraged fulfill goal. has problems on axis label when choose group on more 1 column variables. space between boxes not wide enough show words corresponding each combination of column variables. searching way fix.


Comments