8000 Invalid display variable: Matplotlib issue with Jupyter · Issue #9 · ericjang/tdb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Invalid display variable: Matplotlib issue with Jupyter #9

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

Open
hrishikeshvganu opened this issue Jul 8, 2016 · 0 comments
Open

Invalid display variable: Matplotlib issue with Jupyter #9

hrishikeshvganu opened this issue Jul 8, 2016 · 0 comments

Comments

@hrishikeshvganu
Copy link

I was getting the following error when running the mnist_demo notebook.

136 display = os.environ.get('DISPLAY')
137 if display is None or not re.search(':\d', display):
--> 138 raise RuntimeError('Invalid DISPLAY variable')
139
140 qApp = QtWidgets.QApplication([str(" ")])

RuntimeError: Invalid DISPLAY variable

The solution is to use magic:
%matplotlib inline

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

1 participant
0