(self, legend, orig_handle,
xdescent, ydescent, width, height, fontsize, trans)
| 383 | return legline |
| 384 | |
| 385 | def create_artists(self, legend, orig_handle, |
| 386 | xdescent, ydescent, width, height, fontsize, trans): |
| 387 | # docstring inherited |
| 388 | if orig_handle.get_fill() or (orig_handle.get_hatch() is not None): |
| 389 | p = self._create_patch(orig_handle, xdescent, ydescent, width, |
| 390 | height) |
| 391 | self.update_prop(p, orig_handle, legend) |
| 392 | else: |
| 393 | p = self._create_line(orig_handle, width, height) |
| 394 | p.set_transform(trans) |
| 395 | return [p] |
| 396 | |
| 397 | |
| 398 | class HandlerLineCollection(HandlerLine2D): |
nothing calls this directly
no test coverage detected