@@ -364,7 +364,7 @@ def legend(self, *args, **kwargs):
364364            The length of handles and labels should be the same in this 
365365            case. If they are not, they are truncated to the smaller length. 
366366
367-         labels : sequence  of strings , optional 
367+         labels : list  of str , optional 
368368            A list of labels to show next to the artists. 
369369            Use this together with *handles*, if you need full control on what 
370370            is shown in the legend and the automatic mechanism described above 
@@ -1061,7 +1061,7 @@ def hlines(self, y, xmin, xmax, colors='k', linestyles='solid',
10611061
10621062        linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, optional 
10631063
1064-         label : string , optional, default: '' 
1064+         label : str , optional, default: '' 
10651065
10661066        Returns 
10671067        ------- 
@@ -1139,7 +1139,7 @@ def vlines(self, x, ymin, ymax, colors='k', linestyles='solid',
11391139
11401140        linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, optional 
11411141
1142-         label : string , optional, default: '' 
1142+         label : str , optional, default: '' 
11431143
11441144        Returns 
11451145        ------- 
@@ -2218,7 +2218,7 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
22182218        linewidth : scalar or array-like, optional 
22192219            Width of the bar edge(s). If 0, don't draw edges. 
22202220
2221-         tick_label : string  or array-like, optional 
2221+         tick_label : str  or array-like, optional 
22222222            The tick labels of the bars. 
22232223            Default: None (Use default numeric labels.) 
22242224
@@ -2514,7 +2514,7 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",
25142514        linewidth : scalar or array-like, optional 
25152515            Width of the bar edge(s). If 0, don't draw edges. 
25162516
2517-         tick_label : string  or array-like, optional 
2517+         tick_label : str  or array-like, optional 
25182518            The tick labels of the bars. 
25192519            Default: None (Use default numeric labels.) 
25202520
@@ -2862,7 +2862,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
28622862            will cycle.  If *None*, will use the colors in the currently 
28632863            active cycle. 
28642864
2865-         autopct : None (default), string , or function, optional 
2865+         autopct : None (default), str , or function, optional 
28662866            If not *None*, is a string or function used to label the wedges 
28672867            with their numeric value.  The label will be placed inside the 
28682868            wedge.  If it is a format string, the label will be ``fmt%pct``. 
@@ -3097,7 +3097,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
30973097            See :doc:`/gallery/statistics/errorbar_features` 
30983098            for an example on the usage of ``xerr`` and ``yerr``. 
30993099
3100-         fmt : plot format string , optional, default: '' 
3100+         fmt : str , optional, default: '' 
31013101            The format for the data points / data lines. See `.plot` for 
31023102            details. 
31033103
0 commit comments