Using Matplotlib Slider and key_release_event concurrently
问题 I am using Matplotlib (with 'tkAgg' backend) to display an image from a sequence of images. I have a Slider widget setup to allow me to scroll through the image sequence - moving the slider changes which image is being displayed. I also have an mpl_connect set to listen for key_relese_events specifically from the left and right arrow keys which calls the same on_change() method to either advance to the next image or show the previous image. Both of these are working fine independent of