Matplotlib webagg server does not work with stable latest
Issue #70
resolved
Running the following command
docker run -p 127.0.0.1:8000:8000 -v $(pwd):/home/fenics/shared -ti quay.io/fenicsproject/stable:latest
and then the following script for plotting a mesh,
from dolfin import *
mesh = UnitSquareMesh(10,10)
import matplotlib.pyplot as plt
plot(mesh)
plt.show()
yields the following web-address: To view figure, visit http://127.0.0.1:8000 However, with dolfin.2018.1.0, this address is not accessible.
Comments (3)
-
-
reporter @choward36 , this was fixed in https://bitbucket.org/fenics-project/docker/pull-requests/36 , I should have closed this issue, my mistake
-
reporter - changed status to resolved
Resolved in
#36 - Log in to comment
I was able to get this working by changing the
.matplotlibrc
file inside the container: