Skip to content

Commit

Permalink
Move projection table to Technical References (#3356)
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnefroehlich authored Jul 26, 2024
1 parent ecaab8f commit ff246c6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
sphinx-autodoc-typehints
sphinx-copybutton
sphinx-design
sphinx-gallery<0.17.0
sphinx-gallery
sphinx_rtd_theme
# Download cached remote files (artifacts) from GitHub
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ dependencies:
- sphinx-autodoc-typehints
- sphinx-copybutton
- sphinx-design
- sphinx-gallery<0.17.0
- sphinx-gallery
- sphinx_rtd_theme
1 change: 1 addition & 0 deletions doc/techref/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ visit the {gmt-docs}`GMT Technical Reference <reference.html>`.
```{toctree}
:maxdepth: 1
projections.rst
encodings.md
```
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Projection Table
----------------
GMT Map Projections
-------------------

The table below shows the projection codes for the 31 GMT projections:

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies:
- sphinx-autodoc-typehints
- sphinx-copybutton
- sphinx-design
- sphinx-gallery<0.17.0
- sphinx-gallery
- sphinx_rtd_theme
# Dev dependencies (type hints)
- mypy
Expand Down
11 changes: 6 additions & 5 deletions examples/projections/README.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Projections
===========

PyGMT supports many map projections. Use the ``projection`` parameter to specify which
one you want to use in all plotting methods. The projection is specified by a one-letter
code along with (sometimes optional) reference longitude and latitude and the
width of the map (for example, **A**\ *lon0/lat0*\ [*/horizon*\ ]\ */width*). The map
height is determined based on the region and projection.
PyGMT supports many map projections; see :doc:`/techref/projections` for an overview.
Use the ``projection`` parameter to specify which one you want to use in all plotting
methods. The projection is specified by a one-letter code along with (sometimes optional)
reference longitude and latitude and the width of the map (for example,
**A**\ *lon0/lat0*\ [*/horizon*\ ]\ */width*). The map height is determined based on the
region and projection.

These are all the available projections:

0 comments on commit ff246c6

Please sign in to comment.