I take it that you did something like:
from replot import plot
from pylab import *
Then what you'll get for 'plot' is the pylab command, which won't work
in reinteract, instead of the reinteract plot command from replot. Any
of the obvious approaches should work:
* Simply switch the order of the two lines above
* change the first to 'from replot import plot as replot', then use
replot() instead of plot()
* change the second to 'import pylab as p' then use p.savefig()
rather than savefig()'
You can make your own variants. However, once you get access to
'savefig()', it probably won't do what you want, since it will save
the figure in the implicit pylab drawing state, rather than the
PlotResult returned by replot's plot().
What I did for the replay.play() command, since I needed to save a
sound, was add a right-click menu option to "Save", and I think that
would be a reasonable approach here as well... it shouldn't be a big
task to implement that if you or someone else wants to take a stab at
it. You might want to file an ticket on www.reinteract.org.
- Owen