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
savefig no longer works over ssh #1905
Comments
do yuo have libqt5 on the server? |
Yes:
You'll notice that |
wow, not sure then. could you try a different backend? |
I just tried PyPlot, and it worked fine.
…On Tue, Jan 29, 2019 at 1:06 PM Michael Krabbe Borregaard < ***@***.***> wrote:
wow, not sure then. could you try a different backend?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1905 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABYYsVH_VSkuKE83lxR35gywRhh8ok9mks5vIJu3gaJpZM4aYc6r>
.
|
Could you try GR without Plots? Sounds like this might be a GR issue, not a Plots one. |
Not having ever used plain GR before, I may be doing this wrong. However, I successfully got a pdf to appear like this
The |
Great, thanks a lot for the detective work. @jheinen do you have any idea? I'm pretty sure we haven't changed the way GR generates figures in a long time. |
Could you please try: ENV["GKSwstype"]="100"
using Plots
plot(rand(10))
savefig("out.png") |
That works, thanks!
…On Tue, Jan 29, 2019 at 7:45 PM Josef Heinen ***@***.***> wrote:
Could you please try:
ENV["GKSwstype"]="100"using Plotsplot(rand(10))savefig("out.png")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1905 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABYYseMb4ywGLxGGAZs0lWQ1VEpj-CYUks5vIPlBgaJpZM4aYc6r>
.
|
I'm also getting this error as described by @jheinen |
Doesn't the workaround described in the #1905 (comment) solve the problem? I could add another environment ( |
Oh, I see, I needed to have done this in a fresh session, before Btw, this is what I get if I don't use the workaround, which seems excessive...
|
That's "normal" behaviour on a headless display. I should probably show one message only and/or disable GUI output internally. |
Why was this closed? Was the issue solved at any point? |
I used to be able to ssh into a remote machine (without X forwarding) and plot figures using savefig. This no longer works:
Of course, I don't expect to be able to view plots without X forwarding, but I do expect to be able to save them.
Here is my versioninfo:
GR is version 0.37.
The text was updated successfully, but these errors were encountered: