Commit 75d1b3a
committed
Set axes zorder at creation
Pass the owning plot's _zorder to add_subplot in facet._make_axes so
every panel axes is born at the right layer. Compose.draw propagates
the composition's _zorder to its direct children before drawing, and
the recursion carries the value down sub-compositions. Combined with
ggplot._draw_insets raising _zorder by 1 per inset boundary, insets
(including Compose insets and nested insets) end up above the host
without any post-hoc subtree walk.1 parent 9a5f094 commit 75d1b3a
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
552 | 559 | | |
553 | 560 | | |
554 | 561 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
403 | 405 | | |
404 | 406 | | |
405 | 407 | | |
| |||
0 commit comments