Also runs apply_aspect
(self, renderer)
| 154 | self.set(**kwargs) |
| 155 | |
| 156 | def _get_draw_artists(self, renderer): |
| 157 | """Also runs apply_aspect""" |
| 158 | artists = self.get_children() |
| 159 | |
| 160 | artists.remove(self.patch) |
| 161 | artists = sorted( |
| 162 | (artist for artist in artists if not artist.get_animated()), |
| 163 | key=lambda artist: artist.get_zorder()) |
| 164 | for ax in self._localaxes: |
| 165 | locator = ax.get_axes_locator() |
| 166 | ax.apply_aspect(locator(ax, renderer) if locator else None) |
| 167 | |
| 168 | for child in ax.get_children(): |
| 169 | if hasattr(child, 'apply_aspect'): |
| 170 | locator = child.get_axes_locator() |
| 171 | child.apply_aspect( |
| 172 | locator(child, renderer) if locator else None) |
| 173 | return artists |
| 174 | |
| 175 | def autofmt_xdate( |
| 176 | self, bottom=0.2, rotation=30, ha='right', which='major'): |
no test coverage detected