@@ -207,8 +207,9 @@ def get_ydata(self, legend, xdescent, ydescent, width, height, fontsize):
207207class HandlerLine2DCompound (HandlerNpoints ):
208208 """
209209 Original handler for `.Line2D` instances, that relies on combining
210- a line-only with a marker-only artist.
210+ a line-only with a marker-only artist. May be deprecated in the future.
211211 """
212+
212213 def __init__ (self , marker_pad = 0.3 , numpoints = None , ** kwargs ):
213214 """
214215 Parameters
@@ -257,25 +258,22 @@ class HandlerLine2D(HandlerNpoints):
257258 """
258259 Handler for `.Line2D` instances.
259260
260- A class similar to the original handler for `.Line2D` instances but
261- that uses a monolithic artist rather than using one artist for the
262- line and another one for the marker(s). NB: the former handler, in
263- use before Matplotlib 3, is still available as `.HandlerLine2DCompound`.
264-
261+ See Also
262+ --------
263+ HandlerLine2DCompound : An earlier handler implementation, which used one
264+ artist for the line and another for the marker(s).
265265 """
266+
266267 def __init__ (self , marker_pad = 0.3 , numpoints = None , ** kw ):
267268 """
268269 Parameters
269270 ----------
270271 marker_pad : float
271272 Padding between points in legend entry.
272-
273273 numpoints : int
274274 Number of points to show in legend entry.
275-
276- Notes
277- -----
278- Any other keyword arguments are given to `HandlerNpoints`.
275+ **kwargs
276+ Keyword arguments forwarded to `.HandlerNpoints`.
279277 """
280278 HandlerNpoints .__init__ (self , marker_pad = marker_pad ,
281279 numpoints = numpoints , ** kw )
0 commit comments