@@ -80,3 +80,25 @@ def test_basemap_aliases():
80
80
fig = Figure ()
81
81
fig .basemap (region = [0 , 360 , - 90 , 90 ], projection = "W7i" , frame = True )
82
82
return fig
83
+
84
+
85
+ @check_figures_equal ()
86
+ def test_basemap_rose ():
87
+ "Create a map with coast and use basemap to add a rose"
88
+ fig_ref , fig_test = Figure (), Figure ()
89
+ fig_ref .coast (R = "127.5/128.5/26/27" , W = "1/0.5p" )
90
+ fig_ref .basemap (Td = "jBR+w5c" )
91
+ fig_test .coast (region = [127.5 , 128.5 , 26 , 27 ], shorelines = "1/0.5p" )
92
+ fig_test .basemap (rose = "jBR+w5c" )
93
+ return fig_ref , fig_test
94
+
95
+
96
+ @check_figures_equal ()
97
+ def test_basemap_compass ():
98
+ "Create a map with coast and use basemap to add a compass"
99
+ fig_ref , fig_test = Figure (), Figure ()
100
+ fig_ref .coast (R = "127.5/128.5/26/27" , W = "1/0.5p" )
101
+ fig_ref .basemap (Tm = "jBR+w5c+d11.5" )
102
+ fig_test .coast (region = [127.5 , 128.5 , 26 , 27 ], shorelines = "1/0.5p" )
103
+ fig_test .basemap (compass = "jBR+w5c+d11.5" )
104
+ return fig_ref , fig_test
0 commit comments