Skip to content
Merged
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
8 changes: 7 additions & 1 deletion mplotutils/tests/test_mapticklabels.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import cartopy
import cartopy.crs as ccrs
import numpy as np
import pytest
import shapely
from packaging.version import Version

import mplotutils as mpu

Expand Down Expand Up @@ -61,7 +63,11 @@ def test_xticklabels_robinson(pass_ax):
mpu.xticklabels(lon, ax=ax_, size=8)

# changed value with proj 9.8; https://github.com/mpytools/mplotutils/issues/202
y_pos = -89.845635
# reverted with https://github.com/SciTools/cartopy/pull/2653
if Version(cartopy.__version__) > Version("0.25.0"):
y_pos = -89.99 # 6460
else:
y_pos = -89.845635

# two elements are not added because they are beyond the map limits
lon = lon[1:-1]
Expand Down