Skip to content

Conversation

@yvonnefroehlich
Copy link
Member

@yvonnefroehlich yvonnefroehlich commented Nov 27, 2025

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

@yvonnefroehlich yvonnefroehlich added this to the 0.18.0 milestone Nov 27, 2025
@yvonnefroehlich yvonnefroehlich added the documentation Improvements or additions to documentation label Nov 27, 2025
@yvonnefroehlich yvonnefroehlich 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
Member Author

/format

Copy link
Member

@michaelgrund michaelgrund left a comment

Choose a reason for hiding this comment

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

Looks good!

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

Labels

documentation Improvements 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

5 participants