Hi,
I'm still in the newbie stages of using FiPy, so I apologize if I'm
overlooking something simple.
I want to use the FiPy Matplotlib viewer to plot the solution to a 1D
problem (but I think the same applies in 2D). After making a viewer, a
call to the plot method of the viewer (e.g. viewer.plot()) simply
opens up a plot window, which is closed after the script has
completed. The problem is that nothing ever gets plotted to the
window. If instead I call viewer.plot('some_filename'), an image of
the plot gets saved to 'some_filename'.
Shouldn't the plot method show the plot when called with no arguments.
In other words, shouldn't the conditional
if filename is not None:
pylab.savefig(filename)
(line 129 of matplotlibViewer.py, from trunk) be followed by
else:
pylab.show()
Thanks,
-Tony
Specs:
Leopard 10.5
Python 2.5.1
FiPy trunk
Matplotlib 0.91.1