You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is a duplicate of #845 which was fixed with #846
No problems seen here...
(topostats) ❱ ipython
~~~~~~~~~~~~ AUTORELOAD ENABALED ~~~~~~~~~~~~
Python 3.12.4 (main, Jun 7 2024, 06:33:07) [GCC 14.1.1 20240522]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.24.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import matplotlib
In [2]: matplotlib.__version__
Out[2]: '3.9.0'
In [3]: import topostats
In [4]: topostats.__version__
Out[4]: '2.2.2.dev5+gf5b40f762'
If encountered on a branch other than main it will likely have been created before #846 so there are two solutions...
git rebase main
You can update the branch by rebasing onto main.
git switch main
git pull
git switch -
git rebase main
git cherry-pick
Alternatively you can cherry-pick the fix from #846
Checklist
topostats process --core 1
.topostats --version
Describe the bug
In 3.9.0, Matplotlib deprecates
register_cmap
. What should we do about this? Prevent use of 3.9 onwards or force it? Supporting both will be messy.An alternative is provided, in
matplotlib.colormaps.register
.Matplotlib API changes for 3.9.0, search for
register_cmap
to see the listingCopy of the output
N/A
Include the configuration file
N/A
To Reproduce
Try to import TopoStats while Matplotlib 3.9.0 is installed.
TopoStats Version
Git main branch
Python Version
3.12
Operating System
MacOS M1/M2 (post-2021)
Python Packages
Matplotlib 3.9.0
The text was updated successfully, but these errors were encountered: