Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update euler.py for deprecated get_cmap function in Matplotlib
taichi/examples/simulation/euler.py:436: MatplotlibDeprecationWarning: The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead. cmap = cm.get_cmap(cmap_name)
- Loading branch information