@@ -204,7 +204,7 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, *,
204204
205205 loc : {'left', 'center', 'right'}, default: :rc:`xaxis.labellocation`
206206 The label position. This is a high-level alternative for passing
207- parameters *x* and *horizonatalalignment *.
207+ parameters *x* and *horizontalalignment *.
208208
209209 Other Parameters
210210 ----------------
@@ -213,16 +213,17 @@ def set_xlabel(self, xlabel, fontdict=None, labelpad=None, *,
213213
214214 See also
215215 --------
216- text : for information on how override and the optional args work
216+ text : for information on how override and the optional arguments work
217217 """
218218 if labelpad is not None :
219219 self .xaxis .labelpad = labelpad
220220 protected_kw = ['x' , 'horizontalalignment' , 'ha' ]
221221 if {* kwargs } & {* protected_kw }:
222222 if loc is not None :
223223 raise TypeError (f"Specifying 'loc' is disallowed when any of "
224- f"its corresponding low level kwargs "
225- f"({ protected_kw } ) are supplied as well" )
224+ f"its corresponding low level keyword "
225+ f"arguments ({ protected_kw } ) are also "
226+ f"supplied" )
226227 loc = 'center'
227228 else :
228229 loc = loc if loc is not None else rcParams ['xaxis.labellocation' ]
@@ -256,7 +257,7 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, *,
256257
257258 loc : {'bottom', 'center', 'top'}, default: :rc:`yaxis.labellocation`
258259 The label position. This is a high-level alternative for passing
259- parameters *y* and *horizonatalalignment *.
260+ parameters *y* and *horizontalalignment *.
260261
261262 Other Parameters
262263 ----------------
@@ -265,17 +266,17 @@ def set_ylabel(self, ylabel, fontdict=None, labelpad=None, *,
265266
266267 See also
267268 --------
268- text : for information on how override and the optional args work
269-
269+ text : for information on how override and the optional arguments work
270270 """
271271 if labelpad is not None :
272272 self .yaxis .labelpad = labelpad
273273 protected_kw = ['y' , 'horizontalalignment' , 'ha' ]
274274 if {* kwargs } & {* protected_kw }:
275275 if loc is not None :
276276 raise TypeError (f"Specifying 'loc' is disallowed when any of "
277- f"its corresponding low level kwargs "
278- f"({ protected_kw } ) are supplied as well" )
277+ f"its corresponding low level keyword "
278+ f"arguments ({ protected_kw } ) are also "
279+ f"supplied" )
279280 loc = 'center'
280281 else :
281282 loc = loc if loc is not None else rcParams ['yaxis.labellocation' ]
@@ -5780,7 +5781,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
57805781
57815782 shading : {'flat', 'nearest', 'auto'}, optional
57825783 The fill style for the quadrilateral; defaults to 'flat' or
5783- ' :rc:`pcolor.shading`. Possible values:
5784+ :rc:`pcolor.shading`. Possible values:
57845785
57855786 - 'flat': A solid color is used for each quad. The color of the
57865787 quad (i, j), (i+1, j), (i, j+1), (i+1, j+1) is given by
@@ -6060,7 +6061,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
60606061
60616062 shading : {'flat', 'nearest', 'gouraud', 'auto'}, optional
60626063 The fill style for the quadrilateral; defaults to
6063- 'flat' or ' :rc:`pcolor.shading`. Possible values:
6064+ 'flat' or :rc:`pcolor.shading`. Possible values:
60646065
60656066 - 'flat': A solid color is used for each quad. The color of the
60666067 quad (i, j), (i+1, j), (i, j+1), (i+1, j+1) is given by
@@ -6076,7 +6077,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
60766077 the area in between is interpolated from the corner values.
60776078 The dimensions of *X* and *Y* must be the same as *C*. When
60786079 Gouraud shading is used, *edgecolors* is ignored.
6079- - 'auto': Choose 'flat' if diemnsions of *X* and *Y* are one
6080+ - 'auto': Choose 'flat' if dimensions of *X* and *Y* are one
60806081 larger than *C*. Choose 'nearest' if dimensions are the same.
60816082
60826083 See :doc:`/gallery/images_contours_and_fields/pcolormesh_grids`
0 commit comments