@@ -229,10 +229,11 @@ def get_children(self):
229229 self .gridline , self .label1 , self .label2 ]
230230 return children
231231
232- def set_clip_path (self , clippath , transform = None ):
232+ @_api .rename_parameter ("3.8" , "clippath" , "path" )
233+ def set_clip_path (self , path , transform = None ):
233234 # docstring inherited
234- super ().set_clip_path (clippath , transform )
235- self .gridline .set_clip_path (clippath , transform )
235+ super ().set_clip_path (path , transform )
236+ self .gridline .set_clip_path (path , transform )
236237 self .stale = True
237238
238239 def contains (self , mouseevent ):
@@ -1079,10 +1080,11 @@ def _translate_tick_params(kw, reverse=False):
10791080 kwtrans .update (kw_ )
10801081 return kwtrans
10811082
1082- def set_clip_path (self , clippath , transform = None ):
1083- super ().set_clip_path (clippath , transform )
1083+ @_api .rename_parameter ("3.8" , "clippath" , "path" )
1084+ def set_clip_path (self , path , transform = None ):
1085+ super ().set_clip_path (path , transform )
10841086 for child in self .majorTicks + self .minorTicks :
1085- child .set_clip_path (clippath , transform )
1087+ child .set_clip_path (path , transform )
10861088 self .stale = True
10871089
10881090 def get_view_interval (self ):
0 commit comments