相关疑难解决方法(0)

如何降低matplotlib中的孵化密度

我需要降低用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)

我知道你可以通过在图案中添加更多字符来增加密度,但是如何降低密度?!

python matplotlib

9
推荐指数
1
解决办法
4289
查看次数

标签 统计

matplotlib ×1

python ×1