NSIDC-Data-Tutorials icon indicating copy to clipboard operation
NSIDC-Data-Tutorials copied to clipboard

Matplotlib warning get_cmap warning in notebooks/SMAP/03_smap_quality_flags.ipynb

Open asteiker opened this issue 1 year ago • 0 comments

I received a matplot lib warning for each image in the notebooks/SMAP/03_smap_quality_flags.ipynb notebook: /tmp/ipykernel_478/3335087365.py:3: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` instead. cax = ax.imshow((surf_flag_L3_P>>i)&1, cmap=plt.cm.get_cmap('bone', 2))

New issue: CRYO-206

Related to CRYO-187

asteiker avatar Jan 31 '24 16:01 asteiker