@@ -120,8 +120,7 @@ def _to_xy(self, values, const):
120
120
class _FixedAxisArtistHelperBase (_AxisArtistHelperBase ):
121
121
"""Helper class for a fixed (in the axes coordinate) axis."""
122
122
123
- @_api .delete_parameter ("3.9" , "nth_coord" )
124
- def __init__ (self , loc , nth_coord = None ):
123
+ def __init__ (self , loc ):
125
124
"""``nth_coord = 0``: x-axis; ``nth_coord = 1``: y-axis."""
126
125
super ().__init__ (_api .check_getitem (
127
126
{"bottom" : 0 , "top" : 0 , "left" : 1 , "right" : 1 }, loc = loc ))
@@ -171,12 +170,7 @@ def get_line(self, axes):
171
170
172
171
class FixedAxisArtistHelperRectilinear (_FixedAxisArtistHelperBase ):
173
172
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 ):
180
174
super ().__init__ (loc )
181
175
self .axis = [axes .xaxis , axes .yaxis ][self .nth_coord ]
182
176
@@ -311,10 +305,9 @@ def __init__(self, axes):
311
305
super ().__init__ ()
312
306
self .axes = axes
313
307
314
- @_api .delete_parameter (
315
- "3.9" , "nth_coord" , addendum = "'nth_coord' is now inferred from 'loc'." )
316
308
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
+ ):
318
311
if axes is None :
319
312
_api .warn_external (
320
313
"'new_fixed_axis' explicitly requires the axes keyword." )
0 commit comments