We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Travis pops up this error when trying to run p.sacksplot(): _tkinter.TclError: no display name and no $DISPLAY environment variable
_tkinter.TclError: no display name and no $DISPLAY environment variable
It seems it is related to the line using matplotlib: plt.figure()
plt.figure()
The text was updated successfully, but these errors were encountered:
backend compatibility
1a9eadb
For travis bug and matplot lib, issue #2
You can find the answer at stackoverflow/tkinter-tclerror-no-display-name-and-no-display-environment-variable
I used this answer to set the backend of matloblib before pyplot is loaded from here import os import matplotlib as mpl if os.environ.get('DISPLAY','') == '': print('no display found. Using non-interactive Agg backend') mpl.use('Agg') import matplotlib.pyplot as plt
I used this answer to set the backend of matloblib before pyplot is loaded from here
import os import matplotlib as mpl if os.environ.get('DISPLAY','') == '': print('no display found. Using non-interactive Agg backend') mpl.use('Agg') import matplotlib.pyplot as plt
For some more information on this issue:
Sorry, something went wrong.
Correction for #2
a6befd5
Update test_dhamed.py
713e39d
sylhare/nprime#2 Get tests plot to work on Travis
sylhare
No branches or pull requests
Travis pops up this error when trying to run p.sacksplot():
_tkinter.TclError: no display name and no $DISPLAY environment variable
It seems it is related to the line using matplotlib:
plt.figure()
The text was updated successfully, but these errors were encountered: