I have made a program wih tkinter that plots some waveforms using matplotlib. Then i made it interactive (pressing buttons) using Matplotlib \'key_press_event\'. So every time i