Skip to content

Commit d9d0478

Browse files
Move comment
1 parent 0f09744 commit d9d0478

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/gallery/maps/choropleth_map.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919

2020
provider = "https://naciscdn.org/naturalearth"
2121
world = gpd.read_file(f"{provider}/50m/cultural/ne_50m_admin_0_countries.zip")
22+
23+
# The dataset contains different attributes, here we focus on the population within
24+
# the different countries (column "POP_EST").
2225
world["POP_EST"] *= 1e-6
2326

2427
fig = pygmt.Figure()
2528
fig.basemap(region=[-19.5, 53, -37.5, 38], projection="M15c", frame="+n")
2629

27-
# The dataset contains different attributes, here we focus on the population within
28-
# the different countries (column "POP_EST").
29-
3030
# First, we define the colormap to fill the polygons based on the "POP_EST" column.
3131
pygmt.makecpt(cmap="acton", series=(0, 100), reverse=True)
3232

0 commit comments

Comments
 (0)