Skip to content

Commit

Permalink
Merge pull request #19 from boutproject/mpl390
Browse files Browse the repository at this point in the history
Update for matplotlib 3.9.0
  • Loading branch information
dschwoerer authored Jun 11, 2024
2 parents 3cfda94 + 43715c8 commit 36242c8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[build-system]
requires = [
"setuptools >= 42",
"setuptools_scm[toml] >= 6.2",
"setuptools_scm_git_archive",
"setuptools_scm[toml] >= 7.0",
"wheel >= 0.29.0",
]
build-backend = "setuptools.build_meta"
Expand Down
Binary file modified tests/baseline_images/Blocks/Surface0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline_images/Blocks/Surface1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline_images/Blocks/Surface2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions tests/test_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ def test_Quiver(self):

@animation_compare(baseline_images="Blocks/Surface", nframes=3)
def test_Surface(self):
mpl_version = tuple([int(x) for x in mpl._version.version.split(".")[:3]])
if mpl_version < (3, 9):
pytest.xfail("Updated for MPL 3.9.0")
x = np.linspace(-2 * np.pi, 2 * np.pi, 100)
t = np.linspace(0, 2 * np.pi, 3)

Expand Down

0 comments on commit 36242c8

Please sign in to comment.