Plotting on ghosted meshes is buggy

Issue #835 new
Jan Blechta created an issue

mpirun -n 3

from dolfin import *
from matplotlib import pyplot

parameters['ghost_mode'] = 'shared_vertex'
mesh = UnitSquareMesh(3, 4)
#mesh = UnitSquareMesh(32, 32)  # seems to work

V = FunctionSpace(mesh, "P", 1)
u = Function(V)
plot(u, backend='matplotlib')
pyplot.show()

crashes with

ValueError: Length of color values array must be the same as either the number of triangulation points or triangles

Comments (0)

  1. Log in to comment