In order to be able to see the effect of the filter it would be convenient to have the input and the output of the widget plot on a single plot.
An additional checkbox can be added which enables the plot of the input spectrum.
To be decided how to proceed with find_peaks and fit_peaks.