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
Describe the bug
A clear and concise description of what the bug is.
cryoDRGN does not specify any required version of matplotlib in the pyproject.toml file. As a result, a clean installation of the package will try to install the latest version. However, matplotlib deprecated in version 3.6 the draw_all method on Colorbar objects in favour of draw_without_rendering. This method is used in cryodrgn analyze to generate the jupyter notebooks.
To Reproduce
What is the command you used? cryodrgn analyze on a clean installation of cryoDRGN should raise this bug, as matplotlib's 3.8 version would be installed.
Expected behavior
A clear and concise description of what you expected to happen.
A simple solution for this bug would be to pin matplotlib's version to 3.6, which should not break anything. Another approach would be to pin matplotlib to 3.8 and modify any calls to draw_all in Colorbar objects.
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I was able to reproduce the error and fixed it by specifying matplotlib<3.7 under pyproject.tomldependencies. We'll update this in the next release!
If you haven't done so already, you can fix this in your own installation in the meantime by editing pyproject.toml yourself if you are installing from source, or using conda install matplotlib<3.7, which will also work if you are installing using pip.
Describe the bug
A clear and concise description of what the bug is.
cryoDRGN does not specify any required version of matplotlib in the
pyproject.toml
file. As a result, a clean installation of the package will try to install the latest version. However, matplotlib deprecated in version 3.6 thedraw_all
method onColorbar
objects in favour ofdraw_without_rendering
. This method is used incryodrgn analyze
to generate the jupyter notebooks.To Reproduce
What is the command you used?
cryodrgn analyze
on a clean installation of cryoDRGN should raise this bug, as matplotlib's 3.8 version would be installed.Expected behavior
A clear and concise description of what you expected to happen.
A simple solution for this bug would be to pin matplotlib's version to 3.6, which should not break anything. Another approach would be to pin matplotlib to 3.8 and modify any calls to
draw_all
inColorbar
objects.Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: