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
The Python module versions in requirements.txt are a bit outdated.
I installed all the dependencies using my system's package manager, and while those packages aren't all at the latest version, some of them are quite far ahead of those in requirements.txt.
These are the versions I have tested:
numpy: 1.21.5
matplotlib: 3.5.2
scipy: 1.8.1
sympy: 1.10.1
There weren't any issues, except for a deprecation in matplotlib 3.6 (changelog is here):
MatplotlibDeprecationWarning: Calling gca() with keyword arguments was deprecated in Matplotlib 3.4. Starting two minor releases later, gca() will take no keyword arguments. The gca() function should only be used to get the current axes, or if no axes exist, create new axes with default keyword arguments. To create a new axes with non-default arguments, use plt.axes() or plt.subplot().
ax = fig.gca(projection='3d')
The fix for this actually quite easy: Replace
ax=fig.gca(projection='3d')
with
ax=fig.add_subplot(projection='3d')
Also, when I checked the matplotlib 2.2.x documentation, it didn't even mention the projection argument on the gca() function.
Please update the dependency list to more recent versions.
You could also use compatible versions instead of exact versions. For example:
The Python module versions in requirements.txt are a bit outdated.
I installed all the dependencies using my system's package manager, and while those packages aren't all at the latest version, some of them are quite far ahead of those in requirements.txt.
These are the versions I have tested:
numpy: 1.21.5
matplotlib: 3.5.2
scipy: 1.8.1
sympy: 1.10.1
There weren't any issues, except for a deprecation in matplotlib 3.6 (changelog is here):
The fix for this actually quite easy: Replace
with
Also, when I checked the matplotlib 2.2.x documentation, it didn't even mention the
projection
argument on thegca()
function.Please update the dependency list to more recent versions.
You could also use compatible versions instead of exact versions. For example:
The text was updated successfully, but these errors were encountered: