notebook.community
Edit and run
In [4]: from dolfin import * n = 4 mesh = RectangleMesh(0., -1., 10., 1.,5*n,n) plot(mesh)
from dolfin import * n = 4 mesh = RectangleMesh(0., -1., 10., 1.,5*n,n) plot(mesh)
Out[4]: <dolfin.cpp.io.VTKPlotter; proxy of <Swig Object of type 'std::shared_ptr< dolfin::VTKPlotter > *' at 0x10e7edc00> >
<dolfin.cpp.io.VTKPlotter; proxy of <Swig Object of type 'std::shared_ptr< dolfin::VTKPlotter > *' at 0x10e7edc00> >
In [ ]: