@@ -1248,8 +1248,9 @@ def _make_plot(self):
12481248 left , right = get_xlim (lines )
12491249 ax .set_xlim (left , right )
12501250
1251+ # error: Signature of "_plot" incompatible with supertype "MPLPlot"
12511252 @classmethod
1252- def _plot (
1253+ def _plot ( # type: ignore[override]
12531254 cls , ax : Axes , x , y , style = None , column_num = None , stacking_id = None , ** kwds
12541255 ):
12551256 # column_num is used to get the target column from plotf in line and
@@ -1383,16 +1384,17 @@ def __init__(self, data, **kwargs):
13831384 if self .logy or self .loglog :
13841385 raise ValueError ("Log-y scales are not supported in area plot" )
13851386
1387+ # error: Signature of "_plot" incompatible with supertype "MPLPlot"
13861388 @classmethod
1387- def _plot (
1389+ def _plot ( # type: ignore[override]
13881390 cls ,
13891391 ax : Axes ,
13901392 x ,
13911393 y ,
13921394 style = None ,
13931395 column_num = None ,
13941396 stacking_id = None ,
1395- is_errorbar = False ,
1397+ is_errorbar : bool = False ,
13961398 ** kwds ,
13971399 ):
13981400
@@ -1483,8 +1485,11 @@ def _args_adjust(self):
14831485 if is_list_like (self .left ):
14841486 self .left = np .array (self .left )
14851487
1488+ # error: Signature of "_plot" incompatible with supertype "MPLPlot"
14861489 @classmethod
1487- def _plot (cls , ax : Axes , x , y , w , start = 0 , log = False , ** kwds ):
1490+ def _plot ( # type: ignore[override]
1491+ cls , ax : Axes , x , y , w , start = 0 , log = False , ** kwds
1492+ ):
14881493 return ax .bar (x , y , w , bottom = start , log = log , ** kwds )
14891494
14901495 @property
@@ -1601,8 +1606,11 @@ class BarhPlot(BarPlot):
16011606 def _start_base (self ):
16021607 return self .left
16031608
1609+ # error: Signature of "_plot" incompatible with supertype "MPLPlot"
16041610 @classmethod
1605- def _plot (cls , ax : Axes , x , y , w , start = 0 , log = False , ** kwds ):
1611+ def _plot ( # type: ignore[override]
1612+ cls , ax : Axes , x , y , w , start = 0 , log = False , ** kwds
1613+ ):
16061614 return ax .barh (x , y , w , left = start , log = log , ** kwds )
16071615
16081616 def _decorate_ticks (self , ax : Axes , name , ticklabels , start_edge , end_edge ):
0 commit comments