Skip to content

Add an example of setting the projection using EPSG codes to the gallery #2004

Closed

Description

@maxrjones

Description of the desired feature

It would be helpful to include an example showing how to specify the projection using EPSG codes in the projections gallery.

Here's a simple example of this feature in use:

import pygmt

fig = pygmt.Figure()
fig.coast(region=[-180, 180, -80, 80], projection="EPSG:3857", frame=True, shorelines="1p")
fig.show()

#1251 demonstrates how to add examples to the projection gallery.

Are you willing to help implement and maintain this feature? Help is welcome for adding this to the documentation.

Activity

  1. added
    good first issue
    documentation
    help wanted
    feature request
    on Jul 11, 2022
  2. removed
    good first issue
    help wanted
    feature request
    on Aug 10, 2025
  3. added this to the 0.17.0 milestone on Aug 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions