diff --git a/.github/workflows/ci_tests_legacy.yaml b/.github/workflows/ci_tests_legacy.yaml index 47ac45f2375..7cd266b10ea 100644 --- a/.github/workflows/ci_tests_legacy.yaml +++ b/.github/workflows/ci_tests_legacy.yaml @@ -65,7 +65,8 @@ jobs: - name: Install dependencies run: | mamba install gmt=${{ matrix.gmt_version }} numpy \ - pandas xarray netCDF4 packaging geopandas \ + pandas xarray netCDF4 packaging \ + geopandas ipython \ build dvc make 'pytest>=6.0' \ pytest-cov pytest-doctestplus pytest-mpl sphinx-gallery diff --git a/pygmt/src/coast.py b/pygmt/src/coast.py index 5c727d61529..014c951eddc 100644 --- a/pygmt/src/coast.py +++ b/pygmt/src/coast.py @@ -202,6 +202,7 @@ def coast(self, **kwargs): ... ) >>> # Show the plot >>> fig.show() + """ kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access if not args_in_kwargs(args=["C", "G", "S", "I", "N", "E", "Q", "W"], kwargs=kwargs): diff --git a/pygmt/src/grd2cpt.py b/pygmt/src/grd2cpt.py index c3b04e8317f..dd847a5fcbb 100644 --- a/pygmt/src/grd2cpt.py +++ b/pygmt/src/grd2cpt.py @@ -175,6 +175,7 @@ def grd2cpt(grid, **kwargs): >>> fig.grdimage(grid=grid) >>> # show the plot >>> fig.show() + """ if kwargs.get("W") is not None and kwargs.get("Ww") is not None: raise GMTInvalidInput("Set only categorical or cyclic to True, not both.") diff --git a/pygmt/src/grdcontour.py b/pygmt/src/grdcontour.py index 170e4cbb832..45689968f5b 100644 --- a/pygmt/src/grdcontour.py +++ b/pygmt/src/grdcontour.py @@ -122,6 +122,7 @@ def grdcontour(self, grid, **kwargs): ... ) >>> # show the plot >>> fig.show() + """ kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access with Session() as lib: diff --git a/pygmt/src/grdimage.py b/pygmt/src/grdimage.py index fbaa3cf144a..0b88e26088f 100644 --- a/pygmt/src/grdimage.py +++ b/pygmt/src/grdimage.py @@ -173,6 +173,7 @@ def grdimage(self, grid, **kwargs): >>> fig.grdimage(grid=grid, cmap="geo", projection="W10c", frame="ag") >>> # show the plot >>> fig.show() + """ kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access with Session() as lib: diff --git a/pygmt/src/solar.py b/pygmt/src/solar.py index 86c6194630b..c2aa188c47f 100644 --- a/pygmt/src/solar.py +++ b/pygmt/src/solar.py @@ -89,6 +89,7 @@ def solar(self, terminator="d", terminator_datetime=None, **kwargs): ... ) >>> # show the plot >>> fig.show() + """ kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access