@@ -166,7 +166,7 @@ def set_title(self, label, fontdict=None, loc=None, pad=None, *, y=None,
166166 title .update (default )
167167 if fontdict is not None :
168168 title .update (fontdict )
169- title .update (kwargs )
169+ title ._internal_update (kwargs )
170170 return title
171171
172172 def get_legend_handles_labels (self , legend_handler_map = None ):
@@ -1064,7 +1064,7 @@ def hlines(self, y, xmin, xmax, colors=None, linestyles='solid',
10641064 lines = mcoll .LineCollection (masked_verts , colors = colors ,
10651065 linestyles = linestyles , label = label )
10661066 self .add_collection (lines , autolim = False )
1067- lines .update (kwargs )
1067+ lines ._internal_update (kwargs )
10681068
10691069 if len (y ) > 0 :
10701070 minx = min (xmin .min (), xmax .min ())
@@ -1143,7 +1143,7 @@ def vlines(self, x, ymin, ymax, colors=None, linestyles='solid',
11431143 lines = mcoll .LineCollection (masked_verts , colors = colors ,
11441144 linestyles = linestyles , label = label )
11451145 self .add_collection (lines , autolim = False )
1146- lines .update (kwargs )
1146+ lines ._internal_update (kwargs )
11471147
11481148 if len (x ) > 0 :
11491149 minx = x .min ()
@@ -1363,7 +1363,7 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
13631363 color = color ,
13641364 linestyle = linestyle )
13651365 self .add_collection (coll , autolim = False )
1366- coll .update (kwargs )
1366+ coll ._internal_update (kwargs )
13671367 colls .append (coll )
13681368
13691369 if len (positions ) > 0 :
@@ -2410,7 +2410,7 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
24102410 label = '_nolegend_' ,
24112411 hatch = htch ,
24122412 )
2413- r .update (kwargs )
2413+ r ._internal_update (kwargs )
24142414 r .get_path ()._interpolation_steps = 100
24152415 if orientation == 'vertical' :
24162416 r .sticky_edges .y .append (b )
@@ -4502,7 +4502,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
45024502 collection .set_cmap (cmap )
45034503 collection .set_norm (norm )
45044504 collection ._scale_norm (norm , vmin , vmax )
4505- collection .update (kwargs )
4505+ collection ._internal_update (kwargs )
45064506
45074507 # Classic mode only:
45084508 # ensure there are margins to allow for the
@@ -4830,7 +4830,7 @@ def reduce_C_function(C: array) -> float
48304830 collection .set_cmap (cmap )
48314831 collection .set_norm (norm )
48324832 collection .set_alpha (alpha )
4833- collection .update (kwargs )
4833+ collection ._internal_update (kwargs )
48344834 collection ._scale_norm (norm , vmin , vmax )
48354835
48364836 corners = ((xmin , ymin ), (xmax , ymax ))
@@ -4882,7 +4882,7 @@ def reduce_C_function(C: array) -> float
48824882 bar .set_cmap (cmap )
48834883 bar .set_norm (norm )
48844884 bar .set_alpha (alpha )
4885- bar .update (kwargs )
4885+ bar ._internal_update (kwargs )
48864886 bars .append (self .add_collection (bar , autolim = False ))
48874887
48884888 collection .hbar , collection .vbar = bars
@@ -6763,11 +6763,11 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
67636763 for patch , lbl in itertools .zip_longest (patches , labels ):
67646764 if patch :
67656765 p = patch [0 ]
6766- p .update (kwargs )
6766+ p ._internal_update (kwargs )
67676767 if lbl is not None :
67686768 p .set_label (lbl )
67696769 for p in patch [1 :]:
6770- p .update (kwargs )
6770+ p ._internal_update (kwargs )
67716771 p .set_label ('_nolegend_' )
67726772
67736773 if nx == 1 :
0 commit comments