1 -自 Matplotlib 2.3.1 以来 已弃用的替代方案是什么?Matplotlib.colors.DivergingNorm
2 -AttributeError: module 'matplotlib.colors' has no attribute 'DivergingNorm'即使我使用 Matplotlib 版本 2.2.4,我仍然得到 。为什么?
谢谢你!
这并没有回答 2.2.4 的问题,但为了那些寻找当前(3.2.0)替代方案的人的利益:它是现在matplotlib.colors.TwoSlopeNorm,用法和文档与matplotlib.colors.DivergingNorm3.1.0 相同。
| 归档时间: |
|
| 查看次数: |
5001 次 |
| 最近记录: |