Commit 3f6d932
committed
Simplify HostAxes.draw and its interaction with ParasiteAxes.
- The base Axes class now defines `get_axes_locator`, so there's no need
for a hasattr() check.
- Now that all artists are stored in a single list, there's no need to
split the parasite axes' artists by type when pushing them into the
host's artist list. Also it's fine to include non-visible artists, as
they'll be filtered out later. This means that
`ParasiteAxesBase.get_images_artists` becomes unused and can be
deprecated (as it's clearly an internal helper).1 parent 876415d commit 3f6d932
File tree
2 files changed
+10
-13
lines changed- doc/api/next_api_changes/deprecations
- lib/mpl_toolkits/axes_grid1
2 files changed
+10
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | | - | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
211 | 208 | | |
212 | 209 | | |
213 | 210 | | |
214 | 211 | | |
215 | | - | |
216 | 212 | | |
217 | 213 | | |
218 | | - | |
219 | | - | |
220 | | - | |
| 214 | + | |
221 | 215 | | |
222 | 216 | | |
223 | 217 | | |
| |||
0 commit comments