@@ -1662,7 +1662,7 @@ def plot(self, *args, scalex=True, scaley=True, data=None, **kwargs):
16621662 additionally use any `matplotlib.colors` spec, e.g. full names
16631663 (``'green'``) or hex strings (``'#008000'``).
16641664 """
1665- kwargs = cbook .normalize_kwargs (kwargs , mlines .Line2D . _alias_map )
1665+ kwargs = cbook .normalize_kwargs (kwargs , mlines .Line2D )
16661666 lines = [* self ._get_lines (* args , data = data , ** kwargs )]
16671667 for line in lines :
16681668 self .add_line (line )
@@ -2280,7 +2280,7 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
22802280 %(Rectangle)s
22812281
22822282 """
2283- kwargs = cbook .normalize_kwargs (kwargs , mpatches .Patch . _alias_map )
2283+ kwargs = cbook .normalize_kwargs (kwargs , mpatches .Patch )
22842284 color = kwargs .pop ('color' , None )
22852285 if color is None :
22862286 color = self ._get_patches_for_fill .get_next_color ()
@@ -3188,7 +3188,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
31883188 .. [Notes section required for data comment. See #10189.]
31893189
31903190 """
3191- kwargs = cbook .normalize_kwargs (kwargs , mlines .Line2D . _alias_map )
3191+ kwargs = cbook .normalize_kwargs (kwargs , mlines .Line2D )
31923192 # anything that comes in as 'None', drop so the default thing
31933193 # happens down stream
31943194 kwargs = {k : v for k , v in kwargs .items () if v is not None }
@@ -5081,7 +5081,7 @@ def fill(self, *args, data=None, **kwargs):
50815081 two curves.
50825082 """
50835083 # For compatibility(!), get aliases from Line2D rather than Patch.
5084- kwargs = cbook .normalize_kwargs (kwargs , mlines .Line2D . _alias_map )
5084+ kwargs = cbook .normalize_kwargs (kwargs , mlines .Line2D )
50855085
50865086 patches = []
50875087 for poly in self ._get_patches_for_fill (* args , data = data , ** kwargs ):
@@ -5176,8 +5176,7 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
51765176
51775177 """
51785178 if not rcParams ['_internal.classic_mode' ]:
5179- kwargs = cbook .normalize_kwargs (
5180- kwargs , mcoll .Collection ._alias_map )
5179+ kwargs = cbook .normalize_kwargs (kwargs , mcoll .Collection )
51815180 if not any (c in kwargs for c in ('color' , 'facecolor' )):
51825181 kwargs ['facecolor' ] = \
51835182 self ._get_patches_for_fill .get_next_color ()
@@ -5358,8 +5357,7 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
53585357
53595358 """
53605359 if not rcParams ['_internal.classic_mode' ]:
5361- kwargs = cbook .normalize_kwargs (
5362- kwargs , mcoll .Collection ._alias_map )
5360+ kwargs = cbook .normalize_kwargs (kwargs , mcoll .Collection )
53635361 if not any (c in kwargs for c in ('color' , 'facecolor' )):
53645362 kwargs ['facecolor' ] = \
53655363 self ._get_patches_for_fill .get_next_color ()
0 commit comments