Skip to content

Commit

Permalink
dependency(matplotlib): Pins matplotlib~=3.9.4
Browse files Browse the repository at this point in the history
In addressing #986 I tested in a fresh virtual environment. This pulled in
[matplotlib-3.10.0](https://github.com/matplotlib/matplotlib/releases/tag/v3.10.0) which was released 2024-12-14 (two
days ago!). Our dependency on [topoly](topoly.cent.uw.edu.pl/documentation.html) doesn't work with this new version
because of the removal of `inset_location.InsetPosition` in favour of `inset_axes`.

This has been reported to the Topoly developers, see [ImportError: cannot import name 'InsetPosition' from
'mpl_toolkits.axes_grid1.inset_locator' · Issue #5 ·
ilbsm/topoly_tutorial](ilbsm/topoly_tutorial#5) and hopefully won't take long to resolve. For
now though we pin our dependency `matplotlib~=3.9.4` and all tests pass.
  • Loading branch information
ns-rse committed Dec 16, 2024
1 parent 53d3449 commit 03fcf68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies = [
"AFMReader",
"h5py",
"keras",
"matplotlib",
"matplotlib~=3.9.4",
"numpy",
"numpyencoder",
"pandas",
Expand Down

0 comments on commit 03fcf68

Please sign in to comment.