Remove noise on nonlinear signal This signal represents a drawn line. For some reason, the device showed interference as shown in the figure below:

The question is: how can I remove the interference, making the signal as continuous as possible?

Any suggestions?
It looks like you are plotting a histogram, which is basically an estimate of a probability mass or probability density function. Maybe this is not correct. If your x-axis label is wrong, and this is truly a signal as a function of time, then what you are looking for is an estimation of the actual signal given additive noise. A simpler solution is a frequency-based low-pass filter. People can provide more answers if they know the nature of the signal in your graph.