Hi all,
I’m currently using the Docker installation of FEniCS and can’t manage to plot with matplotlib correctly.
When running the FEniCS container with the command fenicsproject run
the message After calling 'plt.show()' you can access matplotlib plots at http://localhost:3000
is displayed. Though the code below doesn’t plot anything at this adress. Does anyone has an idea ? Thanks!
from fenics import *
import matplotlib.pyplot as plt
mesh = UnitCubeMesh(4, 4, 4)
plot(mesh)
plt.show()