From 63063a8179712e8236e167ac6458b8f4d0ed8f2c Mon Sep 17 00:00:00 2001 From: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:39:18 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Dongdong Tian --- examples/gallery/lines/hlines_vlines.py | 4 ++-- pygmt/src/hlines.py | 3 ++- pygmt/src/vlines.py | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/gallery/lines/hlines_vlines.py b/examples/gallery/lines/hlines_vlines.py index 5aa25336508..50491844968 100644 --- a/examples/gallery/lines/hlines_vlines.py +++ b/examples/gallery/lines/hlines_vlines.py @@ -88,8 +88,8 @@ # %% # Polar coordinate system # ----------------------- -# 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 +# 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() diff --git a/pygmt/src/hlines.py b/pygmt/src/hlines.py index af7c3d8dd35..e2c390b4eea 100644 --- a/pygmt/src/hlines.py +++ b/pygmt/src/hlines.py @@ -40,7 +40,8 @@ def hlines( - **Cartesian**: lines are plotted as straight lines. - **Polar**: lines are plotted as arcs along a constant radius. - - **Geographic**: lines are plotted as arcs along parallels (i.e., constant latitude). + - **Geographic**: lines are plotted as arcs along parallels (i.e., constant + latitude). Parameters ---------- diff --git a/pygmt/src/vlines.py b/pygmt/src/vlines.py index 7d1f81b57bc..7f1919baa9c 100644 --- a/pygmt/src/vlines.py +++ b/pygmt/src/vlines.py @@ -40,7 +40,8 @@ def vlines( - **Cartesian**: lines are plotted as straight lines. - **Polar**: lines are plotted as straight lines along a constant azimuth. - - **Geographic**: lines are plotted as arcs along meridians (i.e., constant longitude). + - **Geographic**: lines are plotted as arcs along meridians (i.e., constant + longitude). Parameters ----------