Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit2d25e62
committed
axes_grid1: make twin* not modify host axes
PR#4898 changed the behavior of twinx() and twiny() in axes_grid1 tomake them consistent with twin(). This commit inverts the "direction" ofconsistency and makes twin() behave like the pre-#4898 twinx() andtwiny() instead. This way, the API becomes less surprising: instead ofhiding certain host axes, twin* now keeps the host axes unmodified,while the parasite axes have their axis lines hidden instead.Unfortunately, this change breaks backwards-compatibility for coderelying on the specifics of host and parasite axes visibility.Helps with#10748.1 parentf7b88be commit2d25e62
File tree
3 files changed
+21
-12
lines changed- doc/api
- lib/mpl_toolkits
- axes_grid1
- tests/baseline_images/test_axes_grid1
3 files changed
+21
-12
lines changedLines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
39 | 54 |
| |
40 | 55 |
| |
41 | 56 |
| |
|
Lines changed: 6 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
253 |
| - | |
254 | 252 |
| |
| 253 | + | |
| 254 | + | |
255 | 255 |
| |
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
261 |
| - | |
262 |
| - | |
263 | 261 |
| |
264 | 262 |
| |
265 | 263 |
| |
| |||
278 | 276 |
| |
279 | 277 |
| |
280 | 278 |
| |
281 |
| - | |
282 |
| - | |
283 | 279 |
| |
| 280 | + | |
| 281 | + | |
284 | 282 |
| |
285 | 283 |
| |
286 | 284 |
| |
287 | 285 |
| |
288 | 286 |
| |
289 | 287 |
| |
290 |
| - | |
291 |
| - | |
292 | 288 |
| |
293 | 289 |
| |
294 | 290 |
| |
| |||
313 | 309 |
| |
314 | 310 |
| |
315 | 311 |
| |
316 |
| - | |
317 |
| - | |
318 | 312 |
| |
| 313 | + | |
| 314 | + | |
319 | 315 |
| |
320 | 316 |
| |
321 | 317 |
| |
322 | 318 |
| |
323 |
| - | |
324 |
| - | |
325 | 319 |
| |
326 | 320 |
| |
327 | 321 |
| |
|
0 commit comments
Comments
(0)