Skip to content

fix ci #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ environment:

install:
# windows config (for installation)
- cmd: "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- cmd: "%PYTHON%\\Scripts\\activate"
- cmd: setlocal
- cmd: set ANACONDA_API_TOKEN=
# conda config
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda update -q conda tqdm
- conda install conda-build anaconda-client
- pip install -i https://pypi.anaconda.org/psyplot/simple --no-deps psyplot-ci-orb
- conda config --add channels conda-forge
Expand Down
1 change: 0 additions & 1 deletion psy_maps/plotters.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
from matplotlib.colors import BoundaryNorm
import numpy as np
from psyplot import rcParams
from psyplot.compat.pycompat import map
from psyplot.docstring import docstrings
from psyplot.data import InteractiveList, _infer_interval_breaks
from psyplot.plotter import (
Expand Down
Binary file removed tests/circumpolar_test.nc
Binary file not shown.
197 changes: 0 additions & 197 deletions tests/test_plotters_combinedplotter_circumpolar.py

This file was deleted.

9 changes: 7 additions & 2 deletions tests/test_plotters_fieldplotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from itertools import starmap, repeat, chain
import numpy as np
import matplotlib.pyplot as plt
import cartopy
import cartopy.crs as ccrs
import matplotlib.colors as mcol
from psy_maps.plotters import FieldPlotter, rcParams, InteractiveList
Expand Down Expand Up @@ -220,7 +221,11 @@ def test_axiscolor(self):

def test_background(self):
self.update(background='0.5')
bc = mcol.to_rgba(self.plotter.ax.background_patch.get_facecolor())
if cartopy.__version__ < "0.18":
col = self.plotter.ax.background_patch.get_facecolor()
else:
col = self.plotter.ax.patch.get_facecolor()
bc = mcol.to_rgba(col)
self.assertEqual(bc, (0.5, 0.5, 0.5, 1.0))

def test_extend(self):
Expand Down Expand Up @@ -471,7 +476,7 @@ def test_lonlatbox_projected():
)
sp.update(lonlatbox=[17.8, 18.2, 59.2, 59.4])
assert (
np.round(ax.get_extent(ccrs.PlateCarree()), 2).tolist()
np.round(ax.get_extent(ccrs.PlateCarree()), 1).tolist()
== [17.8, 18.2, 59.2, 59.4]
)

Expand Down
147 changes: 0 additions & 147 deletions tests/test_plotters_fieldplotter_circumpolar.py

This file was deleted.

Loading