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

Skip to content

Commit a5074a8

Browse files
authored
Small edits to make proper links..
1 parent f589dbc commit a5074a8

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

lib/matplotlib/legend_handler.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def get_ydata(self, legend, xdescent, ydescent, width, height, fontsize):
209209

210210
class HandlerLine2D(HandlerNpoints):
211211
"""
212-
Handler for Line2D instances.
212+
Handler for `.Line2D` instances.
213213
"""
214214
def __init__(self, marker_pad=0.3, numpoints=None, **kw):
215215
"""
@@ -261,7 +261,7 @@ def create_artists(self, legend, orig_handle,
261261

262262
class HandlerPatch(HandlerBase):
263263
"""
264-
Handler for Patch instances.
264+
Handler for `.Patch` instances.
265265
"""
266266
def __init__(self, patch_func=None, **kw):
267267
"""
@@ -307,7 +307,7 @@ def create_artists(self, legend, orig_handle,
307307

308308
class HandlerLineCollection(HandlerLine2D):
309309
"""
310-
Handler for LineCollection instances.
310+
Handler for `.LineCollection` instances.
311311
"""
312312
def get_numpoints(self, legend):
313313
if self._numpoints is None:
@@ -339,7 +339,7 @@ def create_artists(self, legend, orig_handle,
339339

340340
class HandlerRegularPolyCollection(HandlerNpointsYoffsets):
341341
"""
342-
Handler for RegularPolyCollections.
342+
Handler for `.RegularPolyCollections`.
343343
"""
344344
def __init__(self, yoffsets=None, sizes=None, **kw):
345345
HandlerNpointsYoffsets.__init__(self, yoffsets=yoffsets, **kw)
@@ -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 `scatter`.
417+
Handler for `.PathCollections`, which are used by `.scatter`.
418418
"""
419419
def create_collection(self, orig_handle, sizes, offsets, transOffset):
420420
p = type(orig_handle)([orig_handle.get_paths()[0]],
@@ -427,7 +427,7 @@ def create_collection(self, orig_handle, sizes, offsets, transOffset):
427427

428428
class HandlerCircleCollection(HandlerRegularPolyCollection):
429429
"""
430-
Handler for CircleCollections.
430+
Handler for `.CircleCollections`.
431431
"""
432432
def create_collection(self, orig_handle, sizes, offsets, transOffset):
433433
p = type(orig_handle)(sizes,
@@ -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 `.stem`.
556556
"""
557557
def __init__(self, marker_pad=0.3, numpoints=None,
558558
bottom=None, yoffsets=None, **kw):
@@ -690,7 +690,7 @@ def create_artists(self, legend, orig_handle,
690690

691691
class HandlerPolyCollection(HandlerBase):
692692
"""
693-
Handler for PolyCollection used in `fill_between` and `stackplot`.
693+
Handler for `.PolyCollection` used in `.fill_between` and `.stackplot`.
694694
"""
695695
def _update_prop(self, legend_handle, orig_handle):
696696
def first_color(colors):

0 commit comments

Comments
 (0)