-
Notifications
You must be signed in to change notification settings - Fork 28
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
Empty subplot causes ghostscript to hang #936
Comments
OK I see now that the context is managed through julia> gmtbegin("test.pdf")
julia> subplot(grid = (3, 3), dims = (10, 10))
julia> GMT.IamSubplot[1]
true Maybe |
Hmm, there is a try/catch, not sure why it isn't stopping this: |
Can reproduce on Windows too. But here's what I think is happening. In plain GMT to use
but in GMT.jl when using Will see how to catch this situation. |
Should be fixed by #939 |
Yep, this is solved for me on master now, throws an |
Julia 1.7.3
GMT (system install) 6.3
GMT.jl 0.42.4 (also on master)
I have found that this doesn't affect Windows.
Repro:
also happens for:
After this ghostscript needs to be killed manually (
kill -9
).Neither of these GMT scripts seem to cause this, they throw an error as expected:
I'm not able to follow how the subplot context is handled, I guess it happens through one of the global variables. Anyway, just found this while playing around with
subplot
for some examples.The text was updated successfully, but these errors were encountered: