Skip to content

Commit

Permalink
Fix the grdtrack example to avoid crashes on macOS (#531)
Browse files Browse the repository at this point in the history
* Fix the grdtrack gallery example to avoid crashes
* Enable building documentation
  • Loading branch information
seisman authored Jul 17, 2020
1 parent f0d3762 commit d8c91d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ jobs:
run: make test PYTEST_EXTRA="-r P"

# Build the documentation
#- name: Build the documentation
# shell: bash -l {0}
# run: make -C doc clean all
- name: Build the documentation
shell: bash -l {0}
run: make -C doc clean all

# Upload coverage to Codecov
- name: Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/grid/track_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

fig = pygmt.Figure()
# Plot the earth relief grid on Cylindrical Stereographic projection, masking land areas
fig.basemap(region="g", frame=True, projection="Cyl_stere/150/-20/8i")
fig.basemap(region="d", frame=True, projection="Cyl_stere/8i")
fig.grdimage(grid=grid, cmap="gray")
fig.coast(land="#666666")
# Plot using circles (c) of 0.15cm, the sampled bathymetry points
Expand Down

0 comments on commit d8c91d7

Please sign in to comment.