Skip to content

Commit

Permalink
Merge pull request #152 from csiro-coasts/shapely-2.0.5-compatibility
Browse files Browse the repository at this point in the history
Fix error in tests with shapely 2.0.5
  • Loading branch information
mx-moth authored Aug 13, 2024
2 parents 03f0874 + 22051f2 commit e1309b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_plot.py
Original file line number Diff line number Diff line change
@@ -48,8 +48,9 @@ def test_add_landmarks():

assert len(landmarks) == len(axes.texts)
for landmark, text in zip(landmarks, axes.texts):
assert text.get_text() == landmark[0]
assert text.xy == landmark[1].coords.xy
title, point = landmark
assert text.get_text() == title
assert text.xy == (point.x, point.y)


@pytest.mark.mpl_image_compare

0 comments on commit e1309b5

Please sign in to comment.