diff --git a/pygmt/src/contour.py b/pygmt/src/contour.py index 9578d26e9be..8101416a5cd 100644 --- a/pygmt/src/contour.py +++ b/pygmt/src/contour.py @@ -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 diff --git a/pygmt/src/grdcontour.py b/pygmt/src/grdcontour.py index 5514a98c57e..2384b59f360 100644 --- a/pygmt/src/grdcontour.py +++ b/pygmt/src/grdcontour.py @@ -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