matplotnode
matplotnode copied to clipboard
No display name and no $DISPLAY environment variable.
Hello, I am trying to use matplotnode on a docker container but I am getting this exception when a try to save the image. I don't need to show the graphic, only save the image.
Exception _tkinter.TclError: 'no display name and no $DISPLAY environment variable' in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Hi there!
Seems like it's a problem using TkAgg with docker. See this stackoverflow question. Removing this line would probably solve the problem but I had to add it due to matplotlib >2 exiting if there was no backend set.
There is an experimental v1.0.0 PR (#7) that might solve this, but there are currently other issues (e.g. segfaults) that need to be addressed before merging and publishing it.