-
Notifications
You must be signed in to change notification settings - Fork 224
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
GMT-Ghostscript incompatibility: Give recommendations and extend examples #3249
Conversation
fig.coast(region="g", frame=True, shorelines=1) | ||
fig.coast(projection="N10c", region="g", frame=True, land="tan", water="lightblue") | ||
# Add a semi-transparent text element | ||
fig.text(position="MC", text="PyGMT", font="60p,Helvetica-Bold,red@75") | ||
fig.show() | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The 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?
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Please also make the PR title shorter. |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Looks good to me already. Do you still have more changes to add? |
Description of proposed changes
The incompatibility of some GMT Ghostscript version combinations causes not working transparency.
This PR adds
Preview: https://github.com/GenericMappingTools/pygmt/tree/mention-gs-gmt-transprency?tab=readme-ov-file#getting-started
Preview: https://pygmt-dev--3249.org.readthedocs.build/en/3249/install.html#testing-your-install
Preview: https://pygmt-dev--3249.org.readthedocs.build/en/3249/install.html#common-installation-issues
Preview: https://github.com/GenericMappingTools/pygmt/blob/mention-gs-gmt-transprency/.github/ISSUE_TEMPLATE/4-release_checklist.md
Related to
Fixes: #3242 (comment)
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash command is:
/format
: automatically format and lint the code