Skip to content

Commit

Permalink
docs: Changing units to SI units in projections (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
willschlitzer committed Dec 8, 2020
1 parent fee246c commit 6bad810
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/tutorials/contour-map.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
interval=250,
grid=grid,
limit=[-4000, -2000],
projection="M4i",
projection="M10c",
frame=True,
)
fig.show()
Expand All @@ -85,14 +85,13 @@
# colormap to the contour map. It must be called prior to
# :meth:`pygmt.Figure.grdcontour` to keep the contour lines visible on the final map.
# If the ``projection`` argument is specified in the :meth:`pygmt.Figure.grdimage`
# method, it does not need to be repeated in
# the :meth:`pygmt.Figure.grdcontour` method.
# method, it does not need to be repeated in the :meth:`pygmt.Figure.grdcontour` method.

fig = pygmt.Figure()
fig.grdimage(
grid=grid,
cmap="haxby",
projection="M4i",
projection="M10c",
frame=True,
)
fig.grdcontour(
Expand Down

0 comments on commit 6bad810

Please sign in to comment.