Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci_tests_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions pygmt/src/coast.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def coast(self, **kwargs):
... )
>>> # Show the plot
>>> fig.show()
<IPython.core.display.Image object>
"""
kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access
if not args_in_kwargs(args=["C", "G", "S", "I", "N", "E", "Q", "W"], kwargs=kwargs):
Expand Down
1 change: 1 addition & 0 deletions pygmt/src/grd2cpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def grd2cpt(grid, **kwargs):
>>> fig.grdimage(grid=grid)
>>> # show the plot
>>> fig.show()
<IPython.core.display.Image object>
"""
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.")
Expand Down
1 change: 1 addition & 0 deletions pygmt/src/grdcontour.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def grdcontour(self, grid, **kwargs):
... )
>>> # show the plot
>>> fig.show()
<IPython.core.display.Image object>
"""
kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access
with Session() as lib:
Expand Down
1 change: 1 addition & 0 deletions pygmt/src/grdimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def grdimage(self, grid, **kwargs):
>>> fig.grdimage(grid=grid, cmap="geo", projection="W10c", frame="ag")
>>> # show the plot
>>> fig.show()
<IPython.core.display.Image object>
"""
kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access
with Session() as lib:
Expand Down
1 change: 1 addition & 0 deletions pygmt/src/solar.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def solar(self, terminator="d", terminator_datetime=None, **kwargs):
... )
>>> # show the plot
>>> fig.show()
<IPython.core.display.Image object>
"""

kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access
Expand Down