Open tran0923 opened 1 year ago
Per matplotlib's official documentation pyplot.gca will no longer accept keyword arguments.
pyplot.gca
For imexam, this breaks code like: ax = fig.gca(projection='3d') at line 1626 in imexamine.py.
ax = fig.gca(projection='3d')
One potential fix might be to use ax = fig.add_subplot(projection='3d') instead as suggested here.
ax = fig.add_subplot(projection='3d')
This is only relevant for matplotlib version 3.4 and higher and can be avoided locally by using older versions.
This is in line 1628+1629 in my version? Fixed by replacing 1628 fig.add_subplot(111) 1629 ax = fig.gca(projection='3d') with 1628 ax = fig.add_subplot(111, projection='3d')
Per matplotlib's official documentation
pyplot.gca
will no longer accept keyword arguments.For imexam, this breaks code like:
ax = fig.gca(projection='3d')
at line 1626 in imexamine.py.One potential fix might be to use
ax = fig.add_subplot(projection='3d')
instead as suggested here.This is only relevant for matplotlib version 3.4 and higher and can be avoided locally by using older versions.