Hey, what does figure() and show() do?

I have tried help in ipython, but I still don't understand other than my program sometimes stop when I don't use them.

where do figure() and show() come from?

They don't exist in python without imports.

What context are you using them in?

if wxpython, then Show(True) method is to show widgets and by default is True so you don't need to add it. figure()?? Not sure what it is! Which modules are you using?

I'm using scitools.all which contains numpy and plot applications..

when using help in ipython.
figure(self, *args, **kwargs) method of scitools.easyviz.gnuplot_.GnuplotBackend
instance
Create a new figure or switch between figures.
num is the figure number of the new or existing figure.

show(self) method of scitools.easyviz.gnuplot_.GnuplotBackend instance
Redraw the current figure.

context:

plot(something)
show()
figure()
plot(somethingelse)
show()
figure()
plot(anotherthing)