jacobwilliams / pyplot-fortran

For generating plots from Fortran using Python's matplotlib.pyplot 📈

Repository from Github https://github.comjacobwilliams/pyplot-fortranRepository from Github https://github.comjacobwilliams/pyplot-fortran

Calling gca() with keyword arguments was deprecated in Matplotlib 3.4

gha3mi opened this issue · comments

commented

This warning is shown while the program test.f90 is running:

orbit.py:16: 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')