1 - What is the alternative to Matplotlib.colors.DivergingNorm that has been deprecated since Matplotlib 2.3.1?
2 - I still get AttributeError: module 'matplotlib.colors' has no attribute 'DivergingNorm', even though I am using Matplotlib version 2.2.4. Why?
Thank you!
This doesn't answer the question for 2.2.4, but for the benefit of anyone who comes across this looking for the current (3.2.0) alternative: it is now matplotlib.colors.TwoSlopeNorm, the usage and documentation are identical to the matplotlib.colors.DivergingNorm from 3.1.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With