Hi,
I encountered an error while running after_ParTIES.py:
after_ParTIES.py:76: MatplotlibDeprecationWarning: Passing parameters norm and vmin/vmax simultaneously is deprecated since 3.3 and will become an error two minor releases later. Please pass vmin/vmax directly to the norm when creating it.
....
File "~/softwares/miniforge3/envs/after_Parties/lib/python3.9/site-packages/matplotlib/colors.py", line 1467, in call
raise ValueError("Invalid vmin or vmax")
ValueError: Invalid vmin or vmax
The dependencies were installed according to conda_env.yml as recommended. However, I noticed a discrepancy in the versions specified in conda_env.yml and the README file. The conda_env.yml specifies matplotlib version 3.4.2 and python version 3.9.6, while the README suggests using Python 3.6.
Here are my solutions:
- Remove all version specifications from conda_env.yml, except for matplotlib (version 2.2.5) and Python (version 3.6).
- Add the following lines at the beginning of after_ParTIES.py:
import matplotlib
matplotlib.use('Agg')
With these changes, the script runs without errors.
Hope this information helps!
Best,
Liping
Hi,
I encountered an error while running after_ParTIES.py:
The dependencies were installed according to conda_env.yml as recommended. However, I noticed a discrepancy in the versions specified in conda_env.yml and the README file. The conda_env.yml specifies matplotlib version 3.4.2 and python version 3.9.6, while the README suggests using Python 3.6.
Here are my solutions:
import matplotlibmatplotlib.use('Agg')With these changes, the script runs without errors.
Hope this information helps!
Best,
Liping