(self, legend, orig_handle,
xdescent, ydescent, width, height, fontsize)
| 282 | self._patch_func = patch_func |
| 283 | |
| 284 | def _create_patch(self, legend, orig_handle, |
| 285 | xdescent, ydescent, width, height, fontsize): |
| 286 | if self._patch_func is None: |
| 287 | p = Rectangle(xy=(-xdescent, -ydescent), |
| 288 | width=width, height=height) |
| 289 | else: |
| 290 | p = self._patch_func(legend=legend, orig_handle=orig_handle, |
| 291 | xdescent=xdescent, ydescent=ydescent, |
| 292 | width=width, height=height, fontsize=fontsize) |
| 293 | return p |
| 294 | |
| 295 | def create_artists(self, legend, orig_handle, |
| 296 | xdescent, ydescent, width, height, fontsize, trans): |
no test coverage detected