Matplotlib гладкие кривые потери
from scipy.signal import savgol_filter
y_smooth = savgol_filter(y, 51, 3) # window size 51, polynomial order 3
Doubtful Dragonfly
from scipy.signal import savgol_filter
y_smooth = savgol_filter(y, 51, 3) # window size 51, polynomial order 3