GenericMappingTools / sphinx_gmt

Sphinx extensions for GMT
https://www.generic-mapping-tools.org/sphinx_gmt
BSD 3-Clause "New" or "Revised" License
7 stars 1 forks source link

Disable image display by setting GMT_END_SHOW to off #56

Closed seisman closed 2 years ago

seisman commented 2 years ago

Description of proposed changes

In the old implementation, we change gmt end show to gmt end to avoid opening the images in external image viewers. This method changes the original script and doesn't work for GMT's one-liners.

In this PR, we set GMT_END_SHOW to off to disable image display, which works for both gmt end show and GMT one-liners.

Reminders