Skip to content

Commit 8a1b7e9

Browse files
Update "Making your first figure" tutorial (#1997)
Co-authored-by: Dongdong Tian <[email protected]>
1 parent c1d7965 commit 8a1b7e9

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

examples/get-started/first_figure.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,19 @@
9191
# Set the projection
9292
# ------------------
9393
#
94-
# This figure now has its colors set, but there is no projection or size
95-
# set for the map. Both of these values are set using the ``projection``
96-
# parameter.
94+
# This figure now has its colors set. By default the projection and size
95+
# of the map is set to ``"Q15c+du"``. Here, ``"Q"`` defines a
96+
# cylindrical equidistant map projection, ``"15c+du"`` means setting
97+
# the maximum (upper) map dimension to 15 cm. However, both of
98+
# these values can be customized according to the requirements using
99+
# the ``projection`` parameter.
97100
#
98101
# The appropriate projection varies for the type of map. The available
99102
# projections are explained in the :doc:`projection </projections/index>`
100103
# gallery. For this example, the Mercator projection is set using ``"M"``.
101-
# The width of the figure will be 10 centimeters, as set by ``"10c"``. The map
102-
# size can also be set in inches using "i" (e.g. a 5 inch wide Mercator
103-
# projection would use ``"M5i"``).
104+
# The width of the figure will be 10 centimeters, as set by ``"10c"``.
105+
# The map size can also be set in inches using "i" (e.g. a 5 inch wide
106+
# Mercator projection would use ``"M5i"``).
104107

105108
fig = pygmt.Figure()
106109
fig.coast(

0 commit comments

Comments
 (0)