@@ -36,8 +36,9 @@ def _init_axis(self):
3636# self.spines['geo'].register_axis(self.yaxis)
3737self ._update_transScale ()
3838
39- def cla (self ):
40- super ().cla ()
39+ def clear (self ):
40+ # docstring inherited
41+ super ().clear ()
4142
4243self .set_longitude_grid (30 )
4344self .set_latitude_grid (15 )
@@ -284,7 +285,7 @@ def __init__(self, *args, **kwargs):
284285self ._longitude_cap = np .pi / 2.0
285286super ().__init__ (* args ,** kwargs )
286287self .set_aspect (0.5 ,adjustable = 'box' ,anchor = 'C' )
287- self .cla ()
288+ self .clear ()
288289
289290def _get_core_transform (self ,resolution ):
290291return self .AitoffTransform (resolution )
@@ -329,7 +330,7 @@ def __init__(self, *args, **kwargs):
329330self ._longitude_cap = np .pi / 2.0
330331super ().__init__ (* args ,** kwargs )
331332self .set_aspect (0.5 ,adjustable = 'box' ,anchor = 'C' )
332- self .cla ()
333+ self .clear ()
333334
334335def _get_core_transform (self ,resolution ):
335336return self .HammerTransform (resolution )
@@ -399,7 +400,7 @@ def __init__(self, *args, **kwargs):
399400self ._longitude_cap = np .pi / 2.0
400401super ().__init__ (* args ,** kwargs )
401402self .set_aspect (0.5 ,adjustable = 'box' ,anchor = 'C' )
402- self .cla ()
403+ self .clear ()
403404
404405def _get_core_transform (self ,resolution ):
405406return self .MollweideTransform (resolution )
@@ -484,10 +485,11 @@ def __init__(self, *args, center_longitude=0, center_latitude=0, **kwargs):
484485self ._center_latitude = center_latitude
485486super ().__init__ (* args ,** kwargs )
486487self .set_aspect ('equal' ,adjustable = 'box' ,anchor = 'C' )
487- self .cla ()
488+ self .clear ()
488489
489- def cla (self ):
490- super ().cla ()
490+ def clear (self ):
491+ # docstring inherited
492+ super ().clear ()
491493self .yaxis .set_major_formatter (NullFormatter ())
492494
493495def _get_core_transform (self ,resolution ):