-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sensible array outputs for pygmt info
When either of per_column (C), spacing (I), or nearest_multiple (T) are used in `pygmt.info`, output the result as a numpy.ndarray which would be more usable that a raw string that is meant for the command line world. Also improve the docstring of `pygmt.info` to mention that numpy.ndarray outputs are being reported.
- Loading branch information
Showing
2 changed files
with
43 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters