From 6a6b81dcbf5f0d7001024f0c726a665289d13449 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 3 Sep 2022 14:45:11 +0200 Subject: [PATCH 01/13] Add description of subplots - position of subplot --- examples/projections/nongeo/polar.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index 8dae22b0dc4..efed0b8c238 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -55,7 +55,8 @@ pygmt.config(FONT_TITLE="14p,Helvetica,black", FORMAT_GEO_MAP="+D") # ============ - +# Top left +# fig.basemap( # set map limits to theta_min = 0, theta_max = 360, radius_min = 0, # radius_max = 1 @@ -72,6 +73,8 @@ fig.shift_origin(xshift="8c") # ============ +# Top middle +# fig.basemap( # set map limits to theta_min = 0, theta_max = 360, radius_min = 0, # radius_max = 1 @@ -89,6 +92,8 @@ fig.shift_origin(xshift="8c") # ============ +# Top right +# fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 0, # radius_max = 1 @@ -106,6 +111,8 @@ fig.shift_origin(xshift="-16c", yshift="-7c") # ============ +# Bottom left +# fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 0, # radius_max = 1 @@ -124,6 +131,8 @@ fig.shift_origin(xshift="8c", yshift="1.3c") # ============ +# Bottom middle +# fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 3480, # radius_max = 6371 (Earth's radius) @@ -144,6 +153,8 @@ fig.shift_origin(xshift="8c") # ============ +# Bottom right +# fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 3480, # radius_max = 6371 (Earth's radius) From 4e729269b158e5c387ffc2e5433a2d3501b6e06f Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 3 Sep 2022 15:09:19 +0200 Subject: [PATCH 02/13] Set titles via '+t' modifier of 'frame' parameter (not via text method) --- examples/projections/nongeo/polar.py | 36 +++++----------------------- 1 file changed, 6 insertions(+), 30 deletions(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index efed0b8c238..3faae7bb463 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -64,12 +64,9 @@ # set map width to 5 cm projection="P5c", # set the frame and color - frame=["xa45f", "+gbisque"], + frame=["xa45f", "+gbisque+tprojection='P5c' @^ region=[0, 360, 0, 1]"], ) -fig.text(position="TC", text="projection='P5c'", offset="0/2.0c", no_clip=True) -fig.text(position="TC", text="region=[0, 360, 0, 1]", offset="0/1.5c", no_clip=True) - fig.shift_origin(xshift="8c") # ============ @@ -83,12 +80,9 @@ # instead of standard angle projection="P5c+a", # set the frame and color - frame=["xa45f", "+gbisque"], + frame=["xa45f", "+gbisque+tprojection='P5c+a' @^ region=[0, 360, 0, 1]"], ) -fig.text(position="TC", text="projection='P5c+a'", offset="0/2.0c", no_clip=True) -fig.text(position="TC", text="region=[0, 360, 0, 1]", offset="0/1.5c", no_clip=True) - fig.shift_origin(xshift="8c") # ============ @@ -102,12 +96,9 @@ # instead of standard angle projection="P5c+a", # set the frame and color - frame=["xa45f", "ya0.2", "WNe+gbisque"], + frame=["xa45f", "ya0.2", "WNe+gbisque+tprojection='P5c+a' @^ region=[0, 90, 0, 1]"], ) -fig.text(position="TC", text="projection='P5c+a'", offset="0/2.0c", no_clip=True) -fig.text(position="TC", text="region=[0, 90, 0, 1]", offset="0/1.5c", no_clip=True) - fig.shift_origin(xshift="-16c", yshift="-7c") # ============ @@ -122,12 +113,9 @@ # 45 degrees projection="P5c+a+t45", # set the frame and color - frame=["xa30f", "ya0.2", "WNe+gbisque"], + frame=["xa30f", "ya0.2", "WNe+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 0, 1]"], ) -fig.text(position="TC", text=r"projection='P5c+a\+t45'", offset="0/2.0c", no_clip=True) -fig.text(position="TC", text="region=[0, 90, 0, 1]", offset="0/1.5c", no_clip=True) - fig.shift_origin(xshift="8c", yshift="1.3c") # ============ @@ -142,12 +130,7 @@ # 45 degrees projection="P5c+a+t45", # set the frame and color - frame=["xa30f", "ya", "WNse+gbisque"], -) - -fig.text(position="TC", text=r"projection='P5c+a\+t45'", offset="0/2.0c", no_clip=True) -fig.text( - position="TC", text="region=[0, 90, 3480, 6371]", offset="0/1.5c", no_clip=True + frame=["xa30f", "ya", "WNse+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 3480, 6371]"], ) fig.shift_origin(xshift="8c") @@ -164,14 +147,7 @@ # 45 degrees, r-axis is marked as depth projection="P5c+a+t45+z", # set the frame and color - frame=["xa30f", "ya", "WNse+gbisque"], -) - -fig.text( - position="TC", text=r"projection='P5c+a\+t45+z'", offset="0/2.0c", no_clip=True -) -fig.text( - position="TC", text="region=[0, 90, 3480, 6371]", offset="0/1.5c", no_clip=True + frame=["xa30f", "ya", "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ region=[0, 90, 3480, 6371]"], ) fig.show() From 990f0ed91e00ea0da8151d3d06cfe8b16dc0f872 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 3 Sep 2022 16:06:04 +0200 Subject: [PATCH 03/13] Add explanation for line break within title --- examples/projections/nongeo/polar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index 3faae7bb463..2f0f544166f 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -64,6 +64,7 @@ # set map width to 5 cm projection="P5c", # set the frame and color + # @^ allows for a line break within the title frame=["xa45f", "+gbisque+tprojection='P5c' @^ region=[0, 360, 0, 1]"], ) From 32a0e7e7ceca9d6a8466e16b587c30045b634b3c Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 3 Sep 2022 16:08:06 +0200 Subject: [PATCH 04/13] Adjust explanation of agrument for 'frame' parameter --- examples/projections/nongeo/polar.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index 2f0f544166f..db41bb113e3 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -63,7 +63,7 @@ region=[0, 360, 0, 1], # set map width to 5 cm projection="P5c", - # set the frame and color + # set the frame, color, and title # @^ allows for a line break within the title frame=["xa45f", "+gbisque+tprojection='P5c' @^ region=[0, 360, 0, 1]"], ) @@ -80,7 +80,7 @@ # set map width to 5 cm and interpret input data as geographic azimuth # instead of standard angle projection="P5c+a", - # set the frame and color + # set the frame, color, and title frame=["xa45f", "+gbisque+tprojection='P5c+a' @^ region=[0, 360, 0, 1]"], ) @@ -96,7 +96,7 @@ # set map width to 5 cm and interpret input data as geographic azimuth # instead of standard angle projection="P5c+a", - # set the frame and color + # set the frame, color, and title frame=["xa45f", "ya0.2", "WNe+gbisque+tprojection='P5c+a' @^ region=[0, 90, 0, 1]"], ) @@ -113,7 +113,7 @@ # instead of standard angle, rotate coordinate system counterclockwise by # 45 degrees projection="P5c+a+t45", - # set the frame and color + # set the frame, color, and title frame=["xa30f", "ya0.2", "WNe+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 0, 1]"], ) @@ -130,7 +130,7 @@ # instead of standard angle, rotate coordinate system counterclockwise by # 45 degrees projection="P5c+a+t45", - # set the frame and color + # set the frame, color, and title frame=["xa30f", "ya", "WNse+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 3480, 6371]"], ) @@ -147,7 +147,7 @@ # instead of standard angle, rotate coordinate system counterclockwise by # 45 degrees, r-axis is marked as depth projection="P5c+a+t45+z", - # set the frame and color + # set the frame, color, and title frame=["xa30f", "ya", "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ region=[0, 90, 3480, 6371]"], ) From 4e4738d69c888fb5dbf68399514542f022630dab Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 3 Sep 2022 16:18:30 +0200 Subject: [PATCH 05/13] Adjust length of argument for 'frame' parameter --- examples/projections/nongeo/polar.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index db41bb113e3..fa0c9bdca89 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -97,7 +97,8 @@ # instead of standard angle projection="P5c+a", # set the frame, color, and title - frame=["xa45f", "ya0.2", "WNe+gbisque+tprojection='P5c+a' @^ region=[0, 90, 0, 1]"], + frame=["xa45f", "ya0.2", + "WNe+gbisque+tprojection='P5c+a' @^ region=[0, 90, 0, 1]"], ) fig.shift_origin(xshift="-16c", yshift="-7c") @@ -114,7 +115,8 @@ # 45 degrees projection="P5c+a+t45", # set the frame, color, and title - frame=["xa30f", "ya0.2", "WNe+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 0, 1]"], + frame=["xa30f", "ya0.2", + "WNe+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 0, 1]"], ) fig.shift_origin(xshift="8c", yshift="1.3c") @@ -131,7 +133,9 @@ # 45 degrees projection="P5c+a+t45", # set the frame, color, and title - frame=["xa30f", "ya", "WNse+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 3480, 6371]"], + frame=["xa30f", "ya", + "WNse+gbisque+tprojection='P5c+a+t45' @^ \ + region=[0, 90, 3480, 6371]"], ) fig.shift_origin(xshift="8c") @@ -148,7 +152,9 @@ # 45 degrees, r-axis is marked as depth projection="P5c+a+t45+z", # set the frame, color, and title - frame=["xa30f", "ya", "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ region=[0, 90, 3480, 6371]"], + frame=["xa30f", "ya", + "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ \ + region=[0, 90, 3480, 6371]"], ) fig.show() From d5247ac2ee826923943cd1a40f8dbb0d8539a121 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 3 Sep 2022 16:19:52 +0200 Subject: [PATCH 06/13] Add explantion for line break within title to every subplot --- examples/projections/nongeo/polar.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index fa0c9bdca89..c96bb990978 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -81,6 +81,7 @@ # instead of standard angle projection="P5c+a", # set the frame, color, and title + # @^ allows for a line break within the title frame=["xa45f", "+gbisque+tprojection='P5c+a' @^ region=[0, 360, 0, 1]"], ) @@ -97,6 +98,7 @@ # instead of standard angle projection="P5c+a", # set the frame, color, and title + # @^ allows for a line break within the title frame=["xa45f", "ya0.2", "WNe+gbisque+tprojection='P5c+a' @^ region=[0, 90, 0, 1]"], ) @@ -115,6 +117,7 @@ # 45 degrees projection="P5c+a+t45", # set the frame, color, and title + # @^ allows for a line break within the title frame=["xa30f", "ya0.2", "WNe+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 0, 1]"], ) @@ -133,6 +136,7 @@ # 45 degrees projection="P5c+a+t45", # set the frame, color, and title + # @^ allows for a line break within the title frame=["xa30f", "ya", "WNse+gbisque+tprojection='P5c+a+t45' @^ \ region=[0, 90, 3480, 6371]"], @@ -152,6 +156,7 @@ # 45 degrees, r-axis is marked as depth projection="P5c+a+t45+z", # set the frame, color, and title + # @^ allows for a line break within the title frame=["xa30f", "ya", "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ \ region=[0, 90, 3480, 6371]"], From 83aae3319d2482bb2f89f2fe7f0645d5095f42b2 Mon Sep 17 00:00:00 2001 From: actions-bot <58130806+actions-bot@users.noreply.github.com> Date: Sat, 3 Sep 2022 18:35:33 +0000 Subject: [PATCH 07/13] [format-command] fixes --- examples/projections/nongeo/polar.py | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index c96bb990978..9463fd00c65 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -99,8 +99,7 @@ projection="P5c+a", # set the frame, color, and title # @^ allows for a line break within the title - frame=["xa45f", "ya0.2", - "WNe+gbisque+tprojection='P5c+a' @^ region=[0, 90, 0, 1]"], + frame=["xa45f", "ya0.2", "WNe+gbisque+tprojection='P5c+a' @^ region=[0, 90, 0, 1]"], ) fig.shift_origin(xshift="-16c", yshift="-7c") @@ -118,8 +117,11 @@ projection="P5c+a+t45", # set the frame, color, and title # @^ allows for a line break within the title - frame=["xa30f", "ya0.2", - "WNe+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 0, 1]"], + frame=[ + "xa30f", + "ya0.2", + "WNe+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 0, 1]", + ], ) fig.shift_origin(xshift="8c", yshift="1.3c") @@ -137,9 +139,12 @@ projection="P5c+a+t45", # set the frame, color, and title # @^ allows for a line break within the title - frame=["xa30f", "ya", - "WNse+gbisque+tprojection='P5c+a+t45' @^ \ - region=[0, 90, 3480, 6371]"], + frame=[ + "xa30f", + "ya", + "WNse+gbisque+tprojection='P5c+a+t45' @^ \ + region=[0, 90, 3480, 6371]", + ], ) fig.shift_origin(xshift="8c") @@ -157,9 +162,12 @@ projection="P5c+a+t45+z", # set the frame, color, and title # @^ allows for a line break within the title - frame=["xa30f", "ya", - "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ \ - region=[0, 90, 3480, 6371]"], + frame=[ + "xa30f", + "ya", + "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ \ + region=[0, 90, 3480, 6371]", + ], ) fig.show() From 0aa59f9ef3754c8b3a6d1419421e44fdb716556a Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 3 Sep 2022 22:24:12 +0200 Subject: [PATCH 08/13] Remove line breaks --- examples/projections/nongeo/polar.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index 9463fd00c65..964221893c7 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -142,8 +142,7 @@ frame=[ "xa30f", "ya", - "WNse+gbisque+tprojection='P5c+a+t45' @^ \ - region=[0, 90, 3480, 6371]", + "WNse+gbisque+tprojection='P5c+a+t45' @^ region=[0, 90, 3480, 6371]", ], ) @@ -165,8 +164,7 @@ frame=[ "xa30f", "ya", - "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ \ - region=[0, 90, 3480, 6371]", + "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ region=[0, 90, 3480, 6371]", ], ) From b9e2d8de029634e0e3ea246f0127a8f9ac6d742a Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Wed, 14 Sep 2022 10:38:31 +0200 Subject: [PATCH 09/13] Use 'noqa:W605' to allow for escape sequence '\z' --- examples/projections/nongeo/polar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index 964221893c7..792e7b285e0 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -164,7 +164,7 @@ frame=[ "xa30f", "ya", - "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ region=[0, 90, 3480, 6371]", + "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ region=[0, 90, 3480, 6371]", # noqa:W605 ], ) From 2cddd6633e2c0dfbc88b16b78824b33fa6315db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= <94163266+yvonnefroehlich@users.noreply.github.com> Date: Sat, 17 Sep 2022 20:10:21 +0200 Subject: [PATCH 10/13] Use '\\' instead of 'noqa:W605' to allow for escape sequence '\z' (code review) Co-authored-by: Dongdong Tian --- examples/projections/nongeo/polar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index 792e7b285e0..f1d9bdc694e 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -164,7 +164,7 @@ frame=[ "xa30f", "ya", - "WNse+gbisque+tprojection='P5c+a+t45+\z' @^ region=[0, 90, 3480, 6371]", # noqa:W605 + "WNse+gbisque+tprojection='P5c+a+t45+\\z' @^ region=[0, 90, 3480, 6371]", ], ) From fce57ee43b239b2953d84354090cfcd4f308cedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= <94163266+yvonnefroehlich@users.noreply.github.com> Date: Fri, 28 Oct 2022 22:56:55 +0200 Subject: [PATCH 11/13] Use monospaced font for titles (code review) Co-authored-by: Dongdong Tian --- examples/projections/nongeo/polar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index f1d9bdc694e..86a989347ad 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -52,7 +52,7 @@ fig = pygmt.Figure() -pygmt.config(FONT_TITLE="14p,Helvetica,black", FORMAT_GEO_MAP="+D") +pygmt.config(FONT_TITLE="14p,Courier,black", FORMAT_GEO_MAP="+D") # ============ # Top left From 676f2d9c09f709060622203d9a4923c39bea62e3 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Fri, 28 Oct 2022 23:08:39 +0200 Subject: [PATCH 12/13] Remove empty lines --- examples/projections/nongeo/polar.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index 86a989347ad..9c4c9dcb4a5 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -56,7 +56,6 @@ # ============ # Top left -# fig.basemap( # set map limits to theta_min = 0, theta_max = 360, radius_min = 0, # radius_max = 1 @@ -72,7 +71,6 @@ # ============ # Top middle -# fig.basemap( # set map limits to theta_min = 0, theta_max = 360, radius_min = 0, # radius_max = 1 @@ -89,7 +87,6 @@ # ============ # Top right -# fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 0, # radius_max = 1 @@ -106,7 +103,6 @@ # ============ # Bottom left -# fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 0, # radius_max = 1 @@ -128,7 +124,6 @@ # ============ # Bottom middle -# fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 3480, # radius_max = 6371 (Earth's radius) @@ -150,7 +145,6 @@ # ============ # Bottom right -# fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 3480, # radius_max = 6371 (Earth's radius) From 21ca7483174a467802fb78cb71bca6ffbb1f03bb Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Fri, 28 Oct 2022 23:10:30 +0200 Subject: [PATCH 13/13] Use consistently lower-case letters --- examples/projections/nongeo/polar.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/projections/nongeo/polar.py b/examples/projections/nongeo/polar.py index 9c4c9dcb4a5..9819681a485 100644 --- a/examples/projections/nongeo/polar.py +++ b/examples/projections/nongeo/polar.py @@ -55,7 +55,7 @@ pygmt.config(FONT_TITLE="14p,Courier,black", FORMAT_GEO_MAP="+D") # ============ -# Top left +# top left fig.basemap( # set map limits to theta_min = 0, theta_max = 360, radius_min = 0, # radius_max = 1 @@ -70,7 +70,7 @@ fig.shift_origin(xshift="8c") # ============ -# Top middle +# top middle fig.basemap( # set map limits to theta_min = 0, theta_max = 360, radius_min = 0, # radius_max = 1 @@ -86,7 +86,7 @@ fig.shift_origin(xshift="8c") # ============ -# Top right +# top right fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 0, # radius_max = 1 @@ -102,7 +102,7 @@ fig.shift_origin(xshift="-16c", yshift="-7c") # ============ -# Bottom left +# bottom left fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 0, # radius_max = 1 @@ -123,7 +123,7 @@ fig.shift_origin(xshift="8c", yshift="1.3c") # ============ -# Bottom middle +# bottom middle fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 3480, # radius_max = 6371 (Earth's radius) @@ -144,7 +144,7 @@ fig.shift_origin(xshift="8c") # ============ -# Bottom right +# bottom right fig.basemap( # set map limits to theta_min = 0, theta_max = 90, radius_min = 3480, # radius_max = 6371 (Earth's radius)