pygmt
pygmt copied to clipboard
A Python interface for the Generic Mapping Tools.
**Description of proposed changes** Following a couple comments at https://github.com/GenericMappingTools/pygmt/pull/1706, this PR suggests an implementation of GMT's clip module using a `with` statement/context manager. It uses the same style as...
**Description of proposed changes** See https://github.com/GenericMappingTools/pygmt/issues/1929 for context. Fixes https://github.com/GenericMappingTools/pygmt/issues/1929. **Reminders** - [ ] Run `make format` and `make check` to make sure the code follows the style guide. -...
**Description of proposed changes** Fixes #1836. **Reminders** - [ ] Run `make format` and `make check` to make sure the code follows the style guide. - [ ] Add tests...
**Description of proposed changes** Adds a link to the SciPy talk in the overview page. Fixes # **Reminders** - [ ] Run `make format` and `make check` to make sure...
To prevent the annoyance of realizing I forgot to run black after I have pushed a commit, I think it would be good to add a pre-commit hook configuration file...
**Description of proposed changes** Fixes #2029 -------- **Overview of affected files** - [ ] Cross-check in the end regarding completeness _Examples which use 'function' for the methods of the `pygmt.Figure`...
**Description of the desired feature** The [YAML configured issue forms](https://github.blog/changelog/2021-06-23-issues-forms-beta-for-public-repositories/) are nice because they provide more obvious structure relative to the markdown issue templates and automatically format Python code. I...
**Description of the problem** In GMT
It seems that the terms 'function' and 'method' are used exchangeable in the tutorial and gallery examples. From my understanding, in Python a method belongs to a class and is...
As discussed [here](https://forum.generic-mapping-tools.org/t/pygmt-finding-old-ghostscript-with-conda-on-windows/3174), if an old version of gs installed on Windows is referred to in the registry, psconvert will use the old gs instead of any newer versions that...