Skip to content
Snippets Groups Projects
Commit fbb3cb61 authored by Florent Jaillet's avatar Florent Jaillet
Browse files

Solving a MatplotlibDeprecationWarning with matplotlib 2.2

parent 5bf81efd
No related branches found
No related tags found
No related merge requests found
......@@ -245,7 +245,8 @@ def tfplot(coef, step, yr, fs=None, dynrange=None, normalization='db',
# plot_surface
from mpl_toolkits.mplot3d import Axes3D
ax = plt.gca(projection='3d')
plt.delaxes()
ax = plt.gcf().add_subplot(111, projection='3d')
ax.azim = -130.
ax.elev = 30.
xgrid, ygrid = np.meshgrid(xr, yr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment