The following script launched in an Ipython shell works as intended but I cannot close the plot afterwards. How to do this?
import dolfin
ymesh = dolfin.IntervalMesh(10, 0, 1)
Y = dolfin.FunctionSpace(ymesh, 'CG', 1)
ystar = dolfin.Expression('x[0]*x[0]')
dolfin.plot(ystar, ymesh)
dolfin.interactive(True)
I have Ipython version 0.13.2
, and dolfin 1.2.0+
on Ubuntu 13.04
.