-
Notifications
You must be signed in to change notification settings - Fork 8
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
RuntimeError: Invalid DISPLAY variable #23
Comments
Hi, I have run a similar snippet in my workspace, but I cannot reproduce the error. specifically, I added ''plt.switch_backend('agg')'' in the unit test module after the line
I surmise that the problem is caused by some mistakes outside of RLA. Could it works if we just run the code import matplotlib.pyplot as plt
plt.switch_backend('agg')
epochs_list = list(range(len(return_list1)))
plt.plot(epochs_list, return_list1)
plt.savefig('test.png') |
When I run these codes
in two platforms, the codes work on both of them. However, once the code Nevermind, I have commented out these codes. Thank you very much! |
Cool! Then I will close the issue, and you can reopen it if you have any further questions. |
My code is as follows:
when runing on the command line, this runtime error happened:
could you help me to fix it?
The text was updated successfully, but these errors were encountered: