@@ -120,8 +120,7 @@ def _to_xy(self, values, const):
120120class _FixedAxisArtistHelperBase (_AxisArtistHelperBase ):
121121 """Helper class for a fixed (in the axes coordinate) axis."""
122122
123- @_api .delete_parameter ("3.9" , "nth_coord" )
124- def __init__ (self , loc , nth_coord = None ):
123+ def __init__ (self , loc ):
125124 """``nth_coord = 0``: x-axis; ``nth_coord = 1``: y-axis."""
126125 super ().__init__ (_api .check_getitem (
127126 {"bottom" : 0 , "top" : 0 , "left" : 1 , "right" : 1 }, loc = loc ))
@@ -171,12 +170,7 @@ def get_line(self, axes):
171170
172171class FixedAxisArtistHelperRectilinear (_FixedAxisArtistHelperBase ):
173172
174- @_api .delete_parameter ("3.9" , "nth_coord" )
175- def __init__ (self , axes , loc , nth_coord = None ):
176- """
177- nth_coord = along which coordinate value varies
178- in 2D, nth_coord = 0 -> x axis, nth_coord = 1 -> y axis
179- """
173+ def __init__ (self , axes , loc ):
180174 super ().__init__ (loc )
181175 self .axis = [axes .xaxis , axes .yaxis ][self .nth_coord ]
182176
@@ -311,10 +305,9 @@ def __init__(self, axes):
311305 super ().__init__ ()
312306 self .axes = axes
313307
314- @_api .delete_parameter (
315- "3.9" , "nth_coord" , addendum = "'nth_coord' is now inferred from 'loc'." )
316308 def new_fixed_axis (
317- self , loc , nth_coord = None , axis_direction = None , offset = None , axes = None ):
309+ self , loc , * , axis_direction = None , offset = None , axes = None
310+ ):
318311 if axes is None :
319312 _api .warn_external (
320313 "'new_fixed_axis' explicitly requires the axes keyword." )
0 commit comments