pygmt icon indicating copy to clipboard operation
pygmt copied to clipboard

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

Open maxrjones opened this issue 3 years ago • 0 comments

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()

https://github.com/GenericMappingTools/pygmt/pull/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.

maxrjones avatar Jul 11 '22 23:07 maxrjones