Skip to content

Update gmt_constants.h - #952

Merged
PaulWessel merged 1 commit into
masterfrom
joa-quim-patch-1
Jun 16, 2019
Merged

PaulWessel merged 1 commit into
masterfrom
joa-quim-patch-1

Conversation

@joa-quim

Copy link
Copy Markdown
Member

This should fix CID 178481

This should fix CID 178481
@joa-quim
joa-quim requested a review from PaulWessel June 16, 2019 20:41
@PaulWessel
PaulWessel merged commit eb8a646 into master Jun 16, 2019
@PaulWessel
PaulWessel deleted the joa-quim-patch-1 branch June 16, 2019 21:18
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