3dgeo-heidelberg / py4dgeo

py4dgeo - A Python library for change analysis in 4D point clouds
https://py4dgeo.readthedocs.io
MIT License
65 stars 8 forks source link

matplotlib deprecation warning #269

Closed dokempf closed 11 months ago

dokempf commented 11 months ago
  /home/runner/work/py4dgeo/py4dgeo/src/py4dgeo/segmentation.py:1097: 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.
    cmap = plt.cm.get_cmap("viridis")