-
Notifications
You must be signed in to change notification settings - Fork 235
GMT-Ghostscript incompatibility: Give recommendations and extend examples #3249
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
Changes from 10 commits
d7bf83c
b9abfac
c524903
9225116
5c8a2df
441d5d7
fcd16ae
8dbc959
15c0c78
c78bb3d
0dbc778
869be37
78eadd8
299ec6b
bd926d2
bdba4ef
9da5d54
5fa9574
6f519e3
577afe7
2db2413
19d7bc0
efa855c
cbb8cb7
2071627
5e8ee92
c0829bb
c402d4f
f42cdf3
33b64c7
2f78bc6
1a537e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -238,11 +238,15 @@ import pygmt | |
| pygmt.show_versions() | ||
|
|
||
| fig = pygmt.Figure() | ||
| fig.coast(region="g", frame=True, shorelines=1) | ||
| fig.coast(projection="N10c", region="g", frame=True, land="tan", water="lightblue") | ||
| fig.text(position="MC", text="PyGMT", font="60p,Helvetica-Bold,red@75") | ||
yvonnefroehlich marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| fig.show() | ||
| ``` | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be great if we can add the image here so that it's more straightforward to see the differences if any. But I'm unsure what's the best way to add the image here.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this would definitely be nice! I was also thinking about this while writing the explanation comment. I have to see when I have time to figure out a solution - maybe a table: left the code and right the image? |
||
|
|
||
yvonnefroehlich marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| If you see a global map with shorelines, then you're all set. | ||
| You should see a global map with land and water masses colored in tan and lightblue, respectively. On top, there | ||
| should be the semi-transparent text "PyGMT". If the semi-transparency does not show up, there is probably an | ||
seisman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| incompatibility between your GMT and ghostscript versions. For details, please run `pygmt.show_versions()` and | ||
seisman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| see [Not working transparency](#not-working-transparency). | ||
|
|
||
| ## Common installation issues | ||
|
|
||
|
|
@@ -284,3 +288,13 @@ jupyter kernelspec list --json | |
|
|
||
| After that, you need to restart Jupyter, open your notebook, select the `pygmt` kernel | ||
| and then import pygmt. | ||
|
|
||
|
|
||
| ### Not working transparency | ||
|
|
||
| It is known that some combinations of GMT and ghostscript versions cause issues, especially | ||
seisman marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| regarding transparency: | ||
|
|
||
| - ghostscript 9.53-9.56: work | ||
| - ghostscript 10.00-10.01: doesn't work | ||
| - ghostscript 10.02-10.03: work, but requires GMT<=6.4 | ||
yvonnefroehlich marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Uh oh!
There was an error while loading. Please reload this page.