plt.boxplot(..., patch_artist=True, boxprops=dict(facecolor="green", hatch = '/')) plt.bar(..., hatch='\\')