我需要降低用matplotlib制成的条形舱口的密度.我添加阴影的方式:
kwargs = {'hatch':'|'}
rects2 = ax.bar(theta, day7, width,fill=False, align='edge', alpha=1, **kwargs)
kwargs = {'hatch':'-'}
rects1 = ax.bar(theta, day1, width,fill=False, align='edge', alpha=1, **kwargs)
Run Code Online (Sandbox Code Playgroud)
我知道你可以通过在图案中添加更多字符来增加密度,但是如何降低密度?!