enthought / enthought/traitsui
BUG: Import error in traitsui.wx.image_slice
Open
- Dominant language
- Python
- Stars
- 306
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Apparently the traits.api.Color has moved to traitsui.api.Color so when I use traitsui.wx.image_slice I get an ImportError.
This can be easily fixed if the import in [traitsui/wx/image_slice.py ](https://github.com/enthought/traitsui/blob/main/traitsui/wx/image_slice.py) is changed from
from traits.api import HasPrivateTraits, Instance, Int, List, Color, Enum, Bool
to
from traits.api import HasPrivateTraits, Instance, Int, List, Enum, Bool
from traitsui.api import Color
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.