…ners (#764)
* REF : Redefine class-level attr on StackedPlotContainer subclasses
specifically, HPlotContainer and VPlotContainer subclasses.
this is a small step towards removing the inheritance from
StackedPlotContainer
modified: chaco/plot_containers.py
* REF : Redefine methods defined on StackedPlotContainer
specifically, we redefine get_preferred_size and _do_stack_layout
methods on the subclasses of StackedPlotContainer
modified: chaco/plot_containers.py
* REF : Redefine stack_dimension and other_dimension on subclasses
with these two traits, we have finally duplicated all methods and traits
defined on the StackedPlotContainer in its subclasses.
In the next step, we can finally remove the inheritance from
StackedPlotContainer
modified: chaco/plot_containers.py
* CLN : Remove inheritance from StackedPlotContainer
and make the subclasses inherit directly from BasePlotContainer instead.
also remove the StackedPlotContainer class. We don't need to worry about
external users of StackedPlotContainer as the class is private to this
module and isn't exposed outside of this module. See __all__ in
chaco.plot_containers
modified: chaco/plot_containers.py
* REF : Redefine BasePlotContainer traits on subclasses
and with this, we can remove their dependence on BasePlotContainer as
well
modified: chaco/plot_containers.py
* REF : chaco stacked plot containers now inherit from enable Container
we can now start the process of using stacked container classes in
enable
modified: chaco/plot_containers.py
* CLN : Make HPlotContainer inherit from enable HStackedContainer
and remove a number of now redundant trait definitions and methods
modified: chaco/plot_containers.py
* REF : Make VPlotContainer inherit from enable VStackedContainer
and remove a number of now redundant trait and methods definitions. also
remove unused imports from enable.
modified: chaco/plot_containers.py
* FIX : Define necessary private cache trait on VPlotContainer
_cached_preferred_size is expected and set by the layout machinery. it
is defined explicitly on the HPlotContainer and OverlayPlotContainer but
not on the VPlotContainer earlier
modified: chaco/plot_containers.py
* FIX : Dont import stacked containers from enable.api
the classes were added to enable.api on the main branch - and they arent
available in a released version yet
modified: chaco/plot_containers.py
* FIX : Install enable from maint/5.2 branch from git source
instead of installing enable 5.1.1 via edm
this is a temporary solution until enable 5.2.0 is available via
edm - at which point the changes in ci should be removed
modified: ci/edmtool.py
* FIX : Install GL dependencies even on null toolkit
because CI now needs to build enable from source
modified: .github/workflows/test-with-edm.yml