r"""Return the list of `~.patches.Patch`\s in the legend.
(self)
| 1018 | return [h for h in self.legend_handles if isinstance(h, Line2D)] |
| 1019 | |
| 1020 | def get_patches(self): |
| 1021 | r"""Return the list of `~.patches.Patch`\s in the legend.""" |
| 1022 | return silent_list('Patch', |
| 1023 | [h for h in self.legend_handles |
| 1024 | if isinstance(h, Patch)]) |
| 1025 | |
| 1026 | def get_texts(self): |
| 1027 | r"""Return the list of `~.text.Text`\s in the legend.""" |