Interactive matplotlib plot with two sliders
Use waitforbuttonpress(timeout=0.001) then plot will see your mouse ticks.
I used matplotlib to create some plot, which depends on 8 variables. I would like to study how the plot changes when I change some of them. I created some script that calls the matplotlib one and generates different snapshots that later I convert into a movie, it is not bad, but a bit clumsy. 

I wonder if somehow I could interact with the plot regeneration using keyboard keys to increase / decrease values of some of the variables and see instantly how the plot changes. 
What is the best approach for this? 
Also if you can point me to interesting links or a link with a plot example with just two sliders?