mesh2svg

dolfin.mesh.svgtools.mesh2svg(mesh, display_width=800.0)

Ipython notebook svg rendering function for 1D and 2D meshes.