rometsch / fargocpt

Fluid dynamics code to study the interaction between protoplanetary disks and planets.
GNU Affero General Public License v3.0
6 stars 3 forks source link

100_Quickstart deprecated module #11

Closed stichou closed 1 year ago

stichou commented 1 year ago

I have the impression that colormap was deprecated in latest python version.

You should replace:

cmap = colormaps.get_cmap("viridis")

by

cmap = matplotlib.pyplot.get_cmap("viridis")
rometsch commented 1 year ago

Thanks for bringing up this issue. It has just been fixed in the last pull request. #12