NCAR / ldcpy

Statistical and visual tools for gathering metrics and comparing Earth System Model data files. A common use case is comparing data that has been lossily compressed with the original data.
https://ldcpy.readthedocs.io/
Apache License 2.0
19 stars 2 forks source link

warning message in compare_stats #191

Closed allibco closed 3 years ago

allibco commented 3 years ago

../../../ldcpy/metrics.py:856: MatplotlibDeprecationWarning: You are modifying the state of a globally registered colormap. In future versions, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = copy.copy(mpl.cm.get_cmap("coolwarm"))

allibco commented 3 years ago

We should fix this as it's in the tutorial notebook

allibco commented 3 years ago

and the metrics notebook....

allibco commented 3 years ago

this message only occurs on Cheyenne...

pinarda commented 3 years ago

I did this a while back, error should be gone now...