nsidc / NSIDC-Data-Tutorials

Jupyter notebook-based tutorials to learn how to access and work with select NSIDC DAAC data.
MIT License
81 stars 39 forks source link

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

Open asteiker opened 9 months ago

asteiker commented 9 months ago

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