Closed adlzanchetta closed 2 years ago
I tried running test_plots.py after the merge and got the following error.
Executing 14 scripts in sequence:
taylor1.png
Traceback (most recent call last):
File "/Users/Peter/git/SkillMetrics/Test/test_plots.py", line 221, in
Any thoughts as to what might be causing it?
Strange. Seems something with the Pillow library.
Could you please let me know:
$ pip show Pillow
)I will try to reproduce it tonight.
Here is the information you requested.
iMac% pip show pillow Name: Pillow Version: 9.2.0 Summary: Python Imaging Library (Fork) Home-page: https://python-pillow.org Author: Alex Clark (PIL Fork Author) Author-email: aclark@python-pillow.org License: HPND Location: /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages Requires: Required-by: matplotlib
My OS is macOS Monterey Version 12.5.1.
Thanks in advance for looking into the problem.
I updated all of the example scripts to include the optional arguments -noshow and -nosave. you may wish to do a git pull before investigating the above problem.
Note that the Wiki pages have also been updated to mention these useful options.
Indeed when I developed the test script I was using a virtual environment with Python 3.6 and pillow 8.4. Sending pull request #31 with corrections for supporting Python 3.10 and pillow 9.2 as well. I would appreciate if you can double check if it also run in your machine.
Developers could be motivated to check the output of running
$ python Test/test_plots.py -clean_files
if they touched codes related to the Taylor diagrams before git-committing.