graph not always shown

Hey guys I am creating an application that deals with a few graphs, but it
does other things also.

What I would like to do is to have a wx.Panel that takes some input from
the user, and then when I get the information I plot some data. The user
picks a start and finish point on the graph and then I apply a cubic
integration function. It then goes to antoher function that is graphed
the user picks max and mins on that data, then the two graphs are compared
to each other.

I have the implimentation done up to creating the graph, and allowing the
user to work with it. The problem that I am having is that there are
parts in between that i need to stop showing the graph and ask for more
user input, via text boxes.

Does anyone know an easy way to go about doing this? I am trying to use
wxmpl because it seemed to be easy but it does not seem to have the
complete functionality that I would like to use.

Thanks,
-Kenny