| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
- add broadcasting draw method to Container - special-case BarContainer __new__ - remove duplicate functions from Container
This uses magic in the `__getattribute__` method which _works_ but does not play nice with IDE's, documentation, or tab-complete. Some Artist properties we don't want to broadcast, like the label.
Starting ground work for re-factoring Axes to use a single tree for storing the Artists in an Axes.
tests are still failing
|
This was done in 3.5 https://matplotlib.org/devdocs/api/prev_api_changes/api_changes_3.5.0.html#axes-children-are-no-longer-separated-by-type |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This branch is the start of work to unify the storage of the artists in the Axes into a single tree. I think this will simplify the serialization and export code we want to add. I also think this will make it easier to implement logic to check if a canvas needs to re-drawn. In all cases, the benefit comes from having a single Artist tree to walk.
The first step of this is to promote Containers to be full-class Artists and use them for drawing (not just sorting out legend handles and returning). This will fix the z-order overlap issues with error bar (#409).
There is some magic in how the broadcasting of the {set,get}_* methods works which should probably have some discussion around it.
The sub-class of list is so that we can maintain back-compatibility for users that are removing artists by mucking with the internal data structures.