Python Forum

Full Version: Trying to make a graph with GUI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

I want to make a graph where the user can change the value of let's say 'x' by shifting a bar between two values.
So for example the graph y=2^x with a bar for x between 10 and 20. How could I code this?

Thanks,

Jemeronimo
Do you mean something like matplotlib's slider demo?
Oh thanks Gribouillis, that seems to be exactly what I need. I'm going to check it out.

I'm looking more for something where the user can change it while looking at the picture (and seeing what this change does).