Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Yvonne Fröhlich <[email protected]>
  • Loading branch information
michaelgrund and yvonnefroehlich authored Jan 12, 2025
1 parent d1e7ff0 commit 7f64d32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/gallery/lines/hlines_vlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@
# %%
# Polar coordinate system
# -----------------------
# When using coordinate systems "horizontal" means lines are plotted as arcs along a
# When using polar coordinate systems "horizontal" means lines are plotted as arcs along a
# constant radius while "vertical" means lines are plotted as straight lines along
# radius at a specified azimuth.

fig = pygmt.Figure()

fig.basemap(region=[0, 360, 0, 1], projection="P10c", frame=["+tPolar hlines", "af"])
# Add a horizontal line along radius=0.8
# Add a line along radius=0.8
fig.hlines(y=0.8, pen="1.5p,red3", label="Line 1")
# Add a horizontal line along radius=0.5 with azimuth limits at 30° and 160°
fig.hlines(y=0.5, xmin=30, xmax=160, pen="1.5p,dodgerblue3", label="Line 2")
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/vlines.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def vlines(
systems:
- **Cartesian**: lines are plotted as straight lines.
- **Polar**: lines are plotted as straight lines along radius.
- **Polar**: lines are plotted as straight lines along a constant azimuth.
- **Geographic**: lines are plotted along meridians (constant longitude).
Parameters
Expand Down

0 comments on commit 7f64d32

Please sign in to comment.