def METHOD_NAME(i):
    try:
        ax.cla()
        num_of_elems = int(np.nonzero(ts)[0][0]) # find first nonzero element in ts queue
        ax.plot(ts, meas, 'b')
        ax.plot(ts, meas_flt, 'g')
        # plot styling
        plt.title("Current measurement - b: inst, g: filtered", loc = 'left')
        plt.xlabel("Timestamp [ms]")
        plt.ylabel("Current [mA]")
        plt.xlim([ts[num_of_elems], ts[-1]])
        plt.grid(True)
    except:
        print("exception in plotter - no data provided")