Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Open figures using the associated application on Windows (GenericMapp…
…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.
- Loading branch information