Closed actcheng closed 1 year ago
Thanks for the report. We made a number of changes to the implementation of the Enable color traits in the most recent release, and although the Chaco tests passed with the new version it looks like there may be some issues remaining. In particular it is curious to me that the color seems to be resolving through Pyface and Qt, which seems odd.
The issue appears to be with these trait definitions which are very outdated: https://github.com/enthought/chaco/blob/cbf53e733e5cbfae6338b46faf29032cf73bf899/chaco/overlays/scatter_inspector_overlay.py#L34-L47
I think this will require a new release of Chaco where these old-style trait definitions are removed.
To be more concrete, all of the Trait(None, None, ...)
here just need to be replaced with something like Union(None, ...)
.
The following error occurred when running the scatter inspector demo with chaco (v5.0.0) and enable (v5.3.0):
The script can be run without error with chaco (v5.0.0) + enable (v5.2.3), or when the
ScatterInspectorOverlay
is disabled.OS, Python version: MacOS, Python 3.6