diff --git a/.travis.yml b/.travis.yml index e1da66580d..b011c00273 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,6 @@ install: - source continuous_integration/install.sh - pip install pytest-cov - pip install coveralls - - pip install metpy script: - eval xvfb-run pytest --mpl --cov=act/ --cov-config=.coveragerc - flake8 --max-line-length=115 --ignore=F401,E402,W504,W605,F403 diff --git a/act/tests/test_plotting.py b/act/tests/test_plotting.py index e67d352fc6..8134b795e9 100644 --- a/act/tests/test_plotting.py +++ b/act/tests/test_plotting.py @@ -325,7 +325,7 @@ def test_skewt_plot_spd_dir(): matplotlib.pyplot.close(skewt.fig) -@pytest.mark.mpl_image_compare(tolerance=67) +@pytest.mark.mpl_image_compare(tolerance=80) def test_multi_skewt_plot(): files = glob.glob(sample_files.EXAMPLE_TWP_SONDE_20060121) diff --git a/continuous_integration/environment-3.7.yml b/continuous_integration/environment-3.7.yml index d2ad2fbf59..271680f869 100644 --- a/continuous_integration/environment-3.7.yml +++ b/continuous_integration/environment-3.7.yml @@ -8,7 +8,7 @@ dependencies: - pyproj - numpy - scipy - - matplotlib + - matplotlib<=3.4.3 - netcdf4 - pytest - pytest-mpl @@ -22,5 +22,6 @@ dependencies: - pip - scikit-posthocs - pip: + - metpy - mpl2nc - arm-pyart diff --git a/continuous_integration/environment-3.8.yml b/continuous_integration/environment-3.8.yml index 5a00c8ede8..4f32853ed4 100644 --- a/continuous_integration/environment-3.8.yml +++ b/continuous_integration/environment-3.8.yml @@ -8,7 +8,7 @@ dependencies: - pyproj - numpy - scipy - - matplotlib + - matplotlib<=3.4.3 - netcdf4 - pytest - pytest-mpl @@ -22,5 +22,6 @@ dependencies: - pip - scikit-posthocs - pip: + - metpy - mpl2nc - arm-pyart diff --git a/requirements.txt b/requirements.txt index 3530f5e642..10b3ba070b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ pyproj numpy pandas -matplotlib +matplotlib<=3.4.3 scipy xarray dask