@@ -239,71 +239,78 @@ class PlotAccessor:
239
239
** kwargs : Any ,
240
240
) -> pd .Series : ...
241
241
@overload
242
- def line ( # type: ignore[misc]
242
+ def line (
243
243
self ,
244
- x : Hashable | None = ...,
245
- y : Hashable | None = ...,
244
+ x : Hashable = ...,
245
+ y : Hashable = ...,
246
246
color : _PlotAccessorColor = ...,
247
+ * ,
247
248
subplots : Literal [False ] | None = ...,
248
249
** kwargs ,
249
250
) -> Axes : ...
250
251
@overload
251
252
def line (
252
253
self ,
253
- x : Hashable | None = ...,
254
- y : Hashable | None = ...,
254
+ x : Hashable = ...,
255
+ y : Hashable = ...,
255
256
color : _PlotAccessorColor = ...,
256
- subplots : Literal [True ] = ...,
257
+ * ,
258
+ subplots : Literal [True ],
257
259
** kwargs ,
258
260
) -> npt .NDArray [np .object_ ]: ...
259
261
@overload
260
- def bar ( # type: ignore[misc]
262
+ def bar (
261
263
self ,
262
- x : Hashable | None = ...,
263
- y : Hashable | None = ...,
264
+ x : Hashable = ...,
265
+ y : Hashable = ...,
264
266
color : _PlotAccessorColor = ...,
267
+ * ,
265
268
subplots : Literal [False ] | None = ...,
266
269
** kwargs ,
267
270
) -> Axes : ...
268
271
@overload
269
272
def bar (
270
273
self ,
271
- x : Hashable | None = ...,
272
- y : Hashable | None = ...,
274
+ x : Hashable = ...,
275
+ y : Hashable = ...,
273
276
color : _PlotAccessorColor = ...,
274
- subplots : Literal [True ] = ...,
277
+ * ,
278
+ subplots : Literal [True ],
275
279
** kwargs ,
276
280
) -> npt .NDArray [np .object_ ]: ...
277
281
@overload
278
- def barh ( # type: ignore[misc]
282
+ def barh (
279
283
self ,
280
- x : Hashable | None = ...,
281
- y : Hashable | None = ...,
284
+ x : Hashable = ...,
285
+ y : Hashable = ...,
282
286
color : _PlotAccessorColor = ...,
283
287
subplots : Literal [False ] | None = ...,
284
288
** kwargs ,
285
289
) -> Axes : ...
286
290
@overload
287
291
def barh (
288
292
self ,
289
- x : Hashable | None = ...,
290
- y : Hashable | None = ...,
293
+ x : Hashable = ...,
294
+ y : Hashable = ...,
291
295
color : _PlotAccessorColor = ...,
292
- subplots : Literal [True ] = ...,
296
+ * ,
297
+ subplots : Literal [True ],
293
298
** kwargs ,
294
299
) -> npt .NDArray [np .object_ ]: ...
295
300
@overload
296
- def box ( # type: ignore[misc]
301
+ def box (
297
302
self ,
298
- by : Hashable | list [HashableT ] | None = ...,
303
+ by : Hashable | list [HashableT ] = ...,
304
+ * ,
299
305
subplots : Literal [False ] | None = ...,
300
306
** kwargs ,
301
307
) -> Axes : ...
302
308
@overload
303
309
def box (
304
310
self ,
305
- by : Hashable | list [HashableT ] | None = ...,
306
- subplots : Literal [True ] = ...,
311
+ by : Hashable | list [HashableT ] = ...,
312
+ * ,
313
+ subplots : Literal [True ],
307
314
** kwargs ,
308
315
) -> Series : ...
309
316
@overload
0 commit comments