Skip to content

Replace directives using + with trailing modifiers instead - #269

Merged
joa-quim merged 1 commit into
masterfrom
x2sysfix
Jan 1, 2019
Merged

joa-quim merged 1 commit into
masterfrom
x2sysfix

Conversation

@PaulWessel

Copy link
Copy Markdown
Contributor

To avoid complications with parsing modifiers, any directive just being a plus or minus symbol have been given modifiers instead. Backwards compatible.

To avoid complications with parsing modifiers, any directive just being a plus or minus symbol have been given modifiers instead. Backwards compatible.
@PaulWessel
PaulWessel requested a review from a team January 1, 2019 10:17
@joa-quim
joa-quim merged commit 7c880f0 into master Jan 1, 2019
@joa-quim
joa-quim deleted the x2sysfix branch January 1, 2019 13:25
obaney pushed a commit to obaney/gmt that referenced this pull request Aug 18, 2021
…ingTools#952)

This PR improves the `launch_external_viewer` function to open images
using the associated application (just like double-click the images) on
Windows.

The implemention is done by calling the
[`os.startfile`](https://docs.python.org/3/library/os.html#os.startfile)
function.

`os.startfile` is only available on Windows, so need to disable the pylint
error `no-member`.

The code was originall written in GenericMappingTools#269 by @leouieda, re-used in GenericMappingTools#529.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants