@@ -70,6 +70,7 @@ def _preprocess(self, **kwargs): # pylint: disable=no-self-use
70
70
W = "shorelines" ,
71
71
G = "land" ,
72
72
S = "water" ,
73
+ c = "ax" ,
73
74
)
74
75
@kwargs_to_strings (R = "sequence" )
75
76
def coast (self , ** kwargs ):
@@ -146,6 +147,7 @@ def coast(self, **kwargs):
146
147
F = "box" ,
147
148
G = "truncate" ,
148
149
W = "scale" ,
150
+ c = "ax" ,
149
151
)
150
152
@kwargs_to_strings (R = "sequence" , G = "sequence" )
151
153
def colorbar (self , ** kwargs ):
@@ -225,6 +227,7 @@ def colorbar(self, **kwargs):
225
227
S = "resample" ,
226
228
U = "logo" ,
227
229
W = "pen" ,
230
+ c = "ax" ,
228
231
)
229
232
@kwargs_to_strings (R = "sequence" , L = "sequence" , A = "sequence_plus" )
230
233
def grdcontour (self , grid , ** kwargs ):
@@ -288,7 +291,9 @@ def grdcontour(self, grid, **kwargs):
288
291
lib .call_module ("grdcontour" , arg_str )
289
292
290
293
@fmt_docstring
291
- @use_alias (R = "region" , J = "projection" , W = "pen" , B = "frame" , I = "shading" , C = "cmap" )
294
+ @use_alias (
295
+ R = "region" , J = "projection" , W = "pen" , B = "frame" , I = "shading" , C = "cmap" , c = "ax"
296
+ )
292
297
@kwargs_to_strings (R = "sequence" )
293
298
def grdimage (self , grid , ** kwargs ):
294
299
"""
@@ -333,6 +338,7 @@ def grdimage(self, grid, **kwargs):
333
338
Wc = "contourpen" ,
334
339
Wm = "meshpen" ,
335
340
Wf = "facadepen" ,
341
+ c = "ax" ,
336
342
p = "perspective" ,
337
343
)
338
344
@kwargs_to_strings (R = "sequence" , p = "sequence" )
@@ -438,6 +444,7 @@ def grdview(self, grid, **kwargs):
438
444
i = "columns" ,
439
445
l = "label" ,
440
446
C = "cmap" ,
447
+ c = "ax" ,
441
448
)
442
449
@kwargs_to_strings (R = "sequence" , i = "sequence_comma" )
443
450
def plot (self , x = None , y = None , data = None , sizes = None , direction = None , ** kwargs ):
@@ -555,6 +562,7 @@ def plot(self, x=None, y=None, data=None, sizes=None, direction=None, **kwargs):
555
562
L = "triangular_mesh_pen" ,
556
563
i = "columns" ,
557
564
C = "levels" ,
565
+ c = "ax" ,
558
566
)
559
567
@kwargs_to_strings (R = "sequence" , i = "sequence_comma" )
560
568
def contour (self , x = None , y = None , z = None , data = None , ** kwargs ):
@@ -622,7 +630,7 @@ def contour(self, x=None, y=None, z=None, data=None, **kwargs):
622
630
lib .call_module ("contour" , arg_str )
623
631
624
632
@fmt_docstring
625
- @use_alias (R = "region" , J = "projection" , B = "frame" )
633
+ @use_alias (R = "region" , J = "projection" , B = "frame" , c = "ax" )
626
634
@kwargs_to_strings (R = "sequence" )
627
635
def basemap (self , ** kwargs ):
628
636
"""
@@ -663,7 +671,7 @@ def basemap(self, **kwargs):
663
671
lib .call_module ("basemap" , build_arg_string (kwargs ))
664
672
665
673
@fmt_docstring
666
- @use_alias (R = "region" , J = "projection" )
674
+ @use_alias (R = "region" , J = "projection" , c = "ax" )
667
675
@kwargs_to_strings (R = "sequence" )
668
676
def logo (self , ** kwargs ):
669
677
"""
@@ -698,7 +706,7 @@ def logo(self, **kwargs):
698
706
lib .call_module ("logo" , build_arg_string (kwargs ))
699
707
700
708
@fmt_docstring
701
- @use_alias (R = "region" , J = "projection" )
709
+ @use_alias (R = "region" , J = "projection" , c = "ax" )
702
710
@kwargs_to_strings (R = "sequence" )
703
711
def image (self , imagefile , ** kwargs ):
704
712
"""
@@ -733,7 +741,7 @@ def image(self, imagefile, **kwargs):
733
741
lib .call_module ("image" , arg_str )
734
742
735
743
@fmt_docstring
736
- @use_alias (R = "region" , J = "projection" , D = "position" , F = "box" )
744
+ @use_alias (R = "region" , J = "projection" , D = "position" , F = "box" , c = "ax" )
737
745
@kwargs_to_strings (R = "sequence" )
738
746
def legend (self , spec = None , position = "JTR+jTR+o0.2c" , box = "+gwhite+p1p" , ** kwargs ):
739
747
"""
@@ -788,7 +796,7 @@ def legend(self, spec=None, position="JTR+jTR+o0.2c", box="+gwhite+p1p", **kwarg
788
796
lib .call_module ("legend" , arg_str )
789
797
790
798
@fmt_docstring
791
- @use_alias (R = "region" , J = "projection" , B = "frame" )
799
+ @use_alias (R = "region" , J = "projection" , B = "frame" , c = "ax" )
792
800
@kwargs_to_strings (
793
801
R = "sequence" ,
794
802
textfiles = "sequence_space" ,
0 commit comments