matplotnode icon indicating copy to clipboard operation
matplotnode copied to clipboard

No display name and no $DISPLAY environment variable.

Open macielti opened this issue 5 years ago • 1 comments

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

macielti avatar Apr 29 '20 11:04 macielti

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.

mateogianolio avatar May 05 '20 22:05 mateogianolio