tests/test_plotting.py::test_imsave_field
D:\a\1\s\hcipy\plotting\field.py:230: 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 = copy(mpl.cm.get_cmap(cmap))