Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Jun 23, 2020
1 parent 0812c50 commit 5cb2cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pygmt/clib/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ def virtualfile_from_grid(self, grid, registration=None):
if registration is None:
# Automatically detect whether the NetCDF source of an
# xarray.DataArray grid uses gridline or pixel registration.
# Defaults to gridline registration if grdinfo cannot find a source file.
# Defaults to gridline if grdinfo cannot find any source file.
registration = "GMT_GRID_NODE_REG" # default to gridline registration
try:
gridfile = grid.encoding["source"]
Expand Down
2 changes: 1 addition & 1 deletion pygmt/tests/test_grdview.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def test_grdview_with_cmap_for_perspective_surface_plot(grid):
"""
fig = Figure()
fig.grdview(
grid=grid, cmap="oleron", surftype="s", perspective=[225, 30], zscale=0.005,
grid=grid, cmap="oleron", surftype="s", perspective=[225, 30], zscale=0.005
)
return fig

Expand Down

0 comments on commit 5cb2cee

Please sign in to comment.