Skip to content

Commit

Permalink
Copy interval docs from grdcontour.py to the levels docs in contour.py (
Browse files Browse the repository at this point in the history
#1043)

Co-authored-by: Dongdong Tian <[email protected]>
  • Loading branch information
willschlitzer and seisman authored Mar 13, 2021
1 parent 8899369 commit aaee599
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions pygmt/src/contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,16 @@ def contour(self, x=None, y=None, z=None, data=None, **kwargs):
- Specify a fixed annotation interval *annot_int* or a
single annotation level +\ *annot_int*.
{B}
levels : str
Contour file or level(s)
levels : str or int
Specify the contour lines to generate.
- The filename of a CPT file where the color boundaries will
be used as contour levels.
- The filename of a 2 (or 3) column file containing the contour
levels (col 1), (**C**)ontour or (**A**)nnotate (col 2), and optional
angle (col 3)
- A fixed contour interval *cont_int* or a single contour with
+\ *cont_int*
D : str
Dump contour coordinates.
E : str
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/grdcontour.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def grdcontour(self, grid, **kwargs):
interval : str or int
Specify the contour lines to generate.
- The filename of a `CPT` file where the color boundaries will
- The filename of a CPT file where the color boundaries will
be used as contour levels.
- The filename of a 2 (or 3) column file containing the contour
levels (col 1), (**C**)ontour or (**A**)nnotate (col 2), and optional
Expand Down

0 comments on commit aaee599

Please sign in to comment.