Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 34fe23c

Browse files
authored
... more
1 parent b6e10c4 commit 34fe23c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/matplotlib/legend_handler.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def patch_func(legend=legend, orig_handle=orig_handle,
275275
xdescent=xdescent, ydescent=ydescent,
276276
width=width, height=height, fontsize=fontsize)
277277
278-
Subsequently the created artist will have its `update_prop` method
278+
Subsequently the created artist will have its ``update_prop`` method
279279
called and the appropriate transform will be applied.
280280
281281
Notes
@@ -414,7 +414,7 @@ def create_artists(self, legend, orig_handle,
414414

415415
class HandlerPathCollection(HandlerRegularPolyCollection):
416416
"""
417-
Handler for `.PathCollections`, which are used by `Axes.scatter`.
417+
Handler for `.PathCollections`, which are used by `~.Axes.scatter`.
418418
"""
419419
def create_collection(self, orig_handle, sizes, offsets, transOffset):
420420
p = type(orig_handle)([orig_handle.get_paths()[0]],
@@ -552,7 +552,7 @@ def create_artists(self, legend, orig_handle,
552552

553553
class HandlerStem(HandlerNpointsYoffsets):
554554
"""
555-
Handler for plots produced by `.stem`.
555+
Handler for plots produced by `~.Axes.stem`.
556556
"""
557557
def __init__(self, marker_pad=0.3, numpoints=None,
558558
bottom=None, yoffsets=None, **kw):
@@ -647,7 +647,7 @@ class HandlerTuple(HandlerBase):
647647
648648
649649
pad : float, optional
650-
If None, fall back to `legend.borderpad` as the default.
650+
If None, fall back to ``legend.borderpad`` as the default.
651651
In units of fraction of font size. Default is None.
652652
"""
653653
def __init__(self, ndivide=1, pad=None, **kwargs):

0 commit comments

Comments
 (0)