-
Notifications
You must be signed in to change notification settings - Fork 48
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
Need to set matplotlib backend for remote plotting? #123
Comments
I guess this would be a problem if the default is "tk agg" for instance and it was a remote machine. There are already ways for the backend to be set by default in matplotlib, I am not sure that we should override that behavior. Maybe we could detect if the |
Actually just had this issue using the HYAK cluster at UW... so it does come up now and then. |
@cjvogl Do you have a workaround we could use in these cases? |
@mandli I added |
That is The recomended way to override the default backend actually. You can also set the default in a .matplotlibrc file on that machine (melt recommendation). I feel for advanced users running on headless machines that these types of work around are fairly painless where as a novice user might run into troubles if we override their default backend. |
I guess we can just add this workaround to the documentation and close this issue. |
Added issue clawpack/doc#205 to address this. |
PR #120 removed statements setting the backend to
Agg
if it's not already set.Does this break plotting on remote machines where the backend is set by default to something that requires
$DISPLAY
to be set? I think it might, but need to investigate...Should we add an attribute to
ClawPlotData
to allow the user to specify this directly insetplot.py
, e.g.The text was updated successfully, but these errors were encountered: