Skip to content

Add gallery example for geopandas point geometry (cities in Europe from Natural Earth) - #4231

Merged
seisman merged 16 commits into
mainfrom
add-gallery-gp-points
Nov 29, 2025
Merged

Add gallery example for geopandas point geometry (cities in Europe from Natural Earth)#4231
seisman merged 16 commits into
mainfrom
add-gallery-gp-points

Conversation

@yvonnefroehlich

@yvonnefroehlichyvonnefroehlich commented Nov 27, 2025

Copy link
Copy Markdown
Member

Description of proposed changes

This PR proposes to add a gallery example for plotting geopandas point geometry objects. Therefore cities of Europe are plotted and the larger cities are labeled by their names. The data is from Natural Earth (50 m) (see PR #4223). Currently the example is placed in the "Symbols and marker" section, but I feel this is not optimal.

Fixes#1374

Preview: https://pygmt-dev--4231.org.readthedocs.build/en/4231/gallery/symbols/points_cities.html

Guidelines

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash command is:

  • /format: automatically format and lint the code

@yvonnefroehlichyvonnefroehlich added this to the 0.18.0 milestone Nov 27, 2025
@yvonnefroehlichyvonnefroehlich added the documentation Improvements or additions to documentation label Nov 27, 2025
@yvonnefroehlichyvonnefroehlich changed the title Add gallery example for geopandas point geometry (cities in Europe)Add gallery example for geopandas point geometry (cities in Europe from Natural Earth)Nov 27, 2025
@yvonnefroehlich

Copy link
Copy Markdown
MemberAuthor

/format

@michaelgrundmichaelgrund left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Comment threadexamples/gallery/symbols/points_cities.py Outdated
@yvonnefroehlichyvonnefroehlich self-assigned this Nov 28, 2025
Comment threadexamples/gallery/symbols/points_cities.py Outdated
Comment threadexamples/gallery/symbols/points_cities.py
yvonnefroehlichand others added 3 commits November 28, 2025 12:37
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
@seisman
seisman merged commit 02a918f into mainNov 29, 2025
10 checks passed
@seisman
seisman deleted the add-gallery-gp-points branch November 29, 2025 13:00
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add gallery example for plotting geopandas.GeoDataFrame objects

4 participants

@yvonnefroehlich@seisman@michaelgrund@actions-bot