Matplotlib.colors.DivergingNorm 的替代方案

aer*_*man 2 python matplotlib

1 -自 Matplotlib 2.3.1 以来 已弃用的替代方案是什么?Matplotlib.colors.DivergingNorm

2 -AttributeError: module 'matplotlib.colors' has no attribute 'DivergingNorm'即使我使用 Matplotlib 版本 2.2.4,我仍然得到 。为什么?

谢谢你!