Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No display name and no $DISPLAY environment variable. #8

Open
macielti opened this issue Apr 29, 2020 · 1 comment
Open

No display name and no $DISPLAY environment variable. #8

macielti opened this issue Apr 29, 2020 · 1 comment

Comments

@macielti
Copy link

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
@mateogianolio
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants