@@ -661,7 +661,6 @@ def text(self, x, y, s, fontdict=None, **kwargs):
661661 self ._add_text (t )
662662 return t
663663
664- @_api .rename_parameter ("3.3" , "s" , "text" )
665664 @docstring .dedent_interpd
666665 def annotate (self , text , xy , * args , ** kwargs ):
667666 a = mtext .Annotation (text , xy , * args , ** kwargs )
@@ -1367,10 +1366,9 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
13671366 minline = (lineoffsets - linelengths ).min ()
13681367 maxline = (lineoffsets + linelengths ).max ()
13691368
1370- if (orientation is not None and
1371- orientation .lower () == "vertical" ):
1369+ if orientation == "vertical" :
13721370 corners = (minline , minpos ), (maxline , maxpos )
1373- else : # "horizontal", None or "none" (see EventCollection)
1371+ else : # "horizontal"
13741372 corners = (minpos , minline ), (maxpos , maxline )
13751373 self .update_datalim (corners )
13761374 self ._request_autoscale_view ()
@@ -4399,7 +4397,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
43994397 *vmin* and *vmax* are used in conjunction with the default norm to
44004398 map the color array *c* to the colormap *cmap*. If None, the
44014399 respective min and max of the color array is used.
4402- It is deprecated to use *vmin*/*vmax* when *norm* is given.
4400+ It is an error to use *vmin*/*vmax* when *norm* is given.
44034401
44044402 alpha : float, default: None
44054403 The alpha blending value, between 0 (transparent) and 1 (opaque).
@@ -4690,7 +4688,7 @@ def hexbin(self, x, y, C=None, gridsize=100, bins=None,
46904688 automatically chosen by the `.Normalize` instance (defaults to
46914689 the respective min/max values of the bins in case of the default
46924690 linear scaling).
4693- It is deprecated to use *vmin*/*vmax* when *norm* is given.
4691+ It is an error to use *vmin*/*vmax* when *norm* is given.
46944692
46954693 alpha : float between 0 and 1, optional
46964694 The alpha blending value, between 0 (transparent) and 1 (opaque).
@@ -5487,7 +5485,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
54875485 When using scalar data and no explicit *norm*, *vmin* and *vmax*
54885486 define the data range that the colormap covers. By default,
54895487 the colormap covers the complete value range of the supplied
5490- data. It is deprecated to use *vmin*/*vmax* when *norm* is given.
5488+ data. It is an error to use *vmin*/*vmax* when *norm* is given.
54915489 When using RGB(A) data, parameters *vmin*/*vmax* are ignored.
54925490
54935491 origin : {'upper', 'lower'}, default: :rc:`image.origin`
@@ -5809,7 +5807,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
58095807 automatically chosen by the `.Normalize` instance (defaults to
58105808 the respective min/max values of *C* in case of the default linear
58115809 scaling).
5812- It is deprecated to use *vmin*/*vmax* when *norm* is given.
5810+ It is an error to use *vmin*/*vmax* when *norm* is given.
58135811
58145812 edgecolors : {'none', None, 'face', color, color sequence}, optional
58155813 The color of the edges. Defaults to 'none'. Possible values:
@@ -6039,7 +6037,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
60396037 automatically chosen by the `.Normalize` instance (defaults to
60406038 the respective min/max values of *C* in case of the default linear
60416039 scaling).
6042- It is deprecated to use *vmin*/*vmax* when *norm* is given.
6040+ It is an error to use *vmin*/*vmax* when *norm* is given.
60436041
60446042 edgecolors : {'none', None, 'face', color, color sequence}, optional
60456043 The color of the edges. Defaults to 'none'. Possible values:
@@ -6290,7 +6288,7 @@ def pcolorfast(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
62906288 automatically chosen by the `.Normalize` instance (defaults to
62916289 the respective min/max values of *C* in case of the default linear
62926290 scaling).
6293- It is deprecated to use *vmin*/*vmax* when *norm* is given.
6291+ It is an error to use *vmin*/*vmax* when *norm* is given.
62946292
62956293 alpha : float, default: None
62966294 The alpha blending value, between 0 (transparent) and 1 (opaque).
0 commit comments