Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit8f793f7
committed
axes_grid1: make twin* not modify host axes
PR#4896 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-#4896 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 parentd1060a8 commit8f793f7
File tree
2 files changed
+6
-12
lines changed- lib/mpl_toolkits
- axes_grid1
- tests/baseline_images/test_axes_grid1
2 files changed
+6
-12
lines changedLines 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)