Skip to content

Commit

Permalink
Fix matplotlib version compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
henry2004y committed Dec 12, 2023
1 parent ed2a63b commit e09fa5e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,11 @@ end
PyPlot.contour(bd, "rho")
@test isa(gca(), PyPlot.PyObject)
c = PyPlot.tricontourf(bd, "rho")
@test c.get_array()[end] == 1.0500000000000003
@static if matplotlib.__version__ < "3.8"
@test c.get_array()[end] == 1.0500000000000003
else
@test c.get_array()[end] == 0.9750000000000002
end
PyPlot.tripcolor(bd, "rho")
@test isa(gca(), PyPlot.PyObject)
PyPlot.streamplot(bd, "bx;by")
Expand Down

2 comments on commit e09fa5e

@henry2004y
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/96964

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.0 -m "<description of version>" e09fa5e27c2be04c12416428a22924d49d9ce882
git push origin v0.5.0

Please sign in to comment.