@@ -271,8 +271,8 @@ def patch_func(legend=legend, orig_handle=orig_handle,
271271 xdescent=xdescent, ydescent=ydescent,
272272 width=width, height=height, fontsize=fontsize)
273273
274- Subsequently the created artist will have its ``update_prop`` method
275- called and the appropriate transform will be applied.
274+ Subsequently the created artist will have its ``update_prop``
275+ method called and the appropriate transform will be applied.
276276
277277 Notes
278278 -----
@@ -374,7 +374,7 @@ def update_prop(self, legend_handle, orig_handle, legend):
374374 self ._update_prop (legend_handle , orig_handle )
375375
376376 legend_handle .set_figure (legend .figure )
377- #legend._set_artist_props(legend_handle)
377+ # legend._set_artist_props(legend_handle)
378378 legend_handle .set_clip_box (None )
379379 legend_handle .set_clip_path (None )
380380
@@ -499,8 +499,8 @@ def create_artists(self, legend, orig_handle,
499499 handle_caplines = []
500500
501501 if orig_handle .has_xerr :
502- verts = [ ((x - xerr_size , y ), (x + xerr_size , y ))
503- for x , y in zip (xdata_marker , ydata_marker )]
502+ verts = [((x - xerr_size , y ), (x + xerr_size , y ))
503+ for x , y in zip (xdata_marker , ydata_marker )]
504504 coll = mcoll .LineCollection (verts )
505505 self .update_prop (coll , barlinecols [0 ], legend )
506506 handle_barlinecols .append (coll )
@@ -517,8 +517,8 @@ def create_artists(self, legend, orig_handle,
517517 handle_caplines .append (capline_right )
518518
519519 if orig_handle .has_yerr :
520- verts = [ ((x , y - yerr_size ), (x , y + yerr_size ))
521- for x , y in zip (xdata_marker , ydata_marker )]
520+ verts = [((x , y - yerr_size ), (x , y + yerr_size ))
521+ for x , y in zip (xdata_marker , ydata_marker )]
522522 coll = mcoll .LineCollection (verts )
523523 self .update_prop (coll , barlinecols [0 ], legend )
524524 handle_barlinecols .append (coll )
@@ -686,7 +686,8 @@ def create_artists(self, legend, orig_handle,
686686
687687class HandlerPolyCollection (HandlerBase ):
688688 """
689- Handler for `.PolyCollection` used in `~.Axes.fill_between` and `~.Axes.stackplot`.
689+ Handler for `.PolyCollection` used in `~.Axes.fill_between` and
690+ `~.Axes.stackplot`.
690691 """
691692 def _update_prop (self , legend_handle , orig_handle ):
692693 def first_color (colors ):
0 commit comments