Fix Axes get_children order to match draw order#4014
Conversation
|
I would recommend calling |
|
On a side note, I should have started hacking on |
|
Looks good to me. This should probably be documented in https://github.com/matplotlib/matplotlib/tree/master/doc/api/api_changes . 👍 on re-using this in |
|
Done on both fronts. |
|
This broke all of the builds |
|
Hopefully that does it. |
|
This is a change to a core-enough part of the library this needs to be looked at by at least a few more people. |
|
Ha! Drawing is a core part of the library? |
|
(tongue in cheek of course) |
|
Passes now (waiting on build docs, holy smokes it takes a while to build those suckers). |
get_children Order to Match draw Orderget_children order to match draw order
|
I like the idea of fixing the order in |
|
@efiring I agree that makes sense, but want to punt on that to get this merged ASAP (so it gets some usage by the brave souls running master before we tag) . It might be useful to let Explicitly tagging Artists as being 'infrastructure' or 'data' (or whatever) is probably something we should think about in the coming Great Artist Refactor of '15. |
|
This sort of touches on a similar theme I raised in a PR (I don't have the On Fri, May 15, 2015 at 9:31 AM, Thomas A Caswell [email protected]
|
Fix Axes `get_children` order to match `draw` order
get_childrenis used byhitlist, and should match the ordering used bydraw. Also consolidates so the order is only established in one place, anddrawcallsget_childrento get the proper ordering.