Skip to content

Commit

Permalink
Test: work with ancient matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwoerer committed Jan 9, 2024
1 parent 52f786e commit 8607350
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xbout/tests/test_animate.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ def test_animate_list_1d_default(self, create_test_file):
def test_animate_list_1d_multiline(self, create_test_file):
save_dir, ds = create_test_file

if matplotlib._version.version_tuple >= (3, 7):
if not hasattr(
matplotlib._version, "version_tuple"
) and matplotlib._version.version_tuple >= (3, 7):
pytest.xfail("Broken with new matplotlib")

animation = ds.isel(y=2, z=3).bout.animate_list(
Expand Down

0 comments on commit 8607350

Please sign in to comment.