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
Hi,
I'm running a script which invokes corner.corner, and everything goes fine in my local machine (python3).
I'm trying to run the same script in a cluster (python2.7) with no graphics device. To save the plots directly in a pdf file, I use the commands
import matplotlib matplotlib.use('Agg')
at the beginning of my script. After including these lines, I find that corner.corner hangs.
Can someone tell me why, and how I can solve this? Does it depend on the version of python, or on the absence of a graphics device?
Thanks a lot
The text was updated successfully, but these errors were encountered:
There isn't any reason why this should be caused by corner. Are you sure that you can use matplotlib with these settings otherwise?
Sorry, something went wrong.
Hello,
the solution is:
matplotlib.use('PDF')
Sorry for the late reply
Cheers
No branches or pull requests
Hi,
I'm running a script which invokes corner.corner, and everything goes fine in my local machine (python3).
I'm trying to run the same script in a cluster (python2.7) with no graphics device. To save the plots directly in a pdf file, I use the commands
import matplotlib
matplotlib.use('Agg')
at the beginning of my script. After including these lines, I find that corner.corner hangs.
Can someone tell me why, and how I can solve this? Does it depend on the version of python, or on the absence of a graphics device?
Thanks a lot
The text was updated successfully, but these errors were encountered: