Commit fbb3cb61 authored by Florent Jaillet's avatar Florent Jaillet
Browse files

Solving a MatplotlibDeprecationWarning with matplotlib 2.2

parent 5bf81efd
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment