Open ezapartas opened 4 months ago
Just posting this for posterity:
If we decide to stay with matplotlib
version 3.9.0 with our new v2 conda environments, we will need to change the current function call to e.g.,
import matplotlib as mpl
cm = mpl.colormaps.get_cmap('tab20')
To stay with the current function call, we should downgrade matplotlib
to something like version 3.7.1 (which is a version used in previous environments where this call is valid).
For the moment we down graded the matplotlib version in #336 . The way of #322 will be the better one after it got tested.
Using the new posydon_v2_dev_env in quest by sourcing /projects/b1119/.bash_shared_v2_dev , I got this matplotlib error:
This function got removed in matplotlib 3.9.0, hence we either need to limit the version or rewrite our code. (@mkruckow) https://matplotlib.org/stable/api/prev_api_changes/api_changes_3.9.0.html#removals