Closed homosapien-lcy closed 1 year ago
It seems that BaseTool should be imported from the enable api https://github.com/enthought/enable/blob/main/enable/api.py (line 272), we probably can solve this by importing BaseTool in chaco.api (from enable.api)
Problem Description ImportError: cannot import name 'BaseTool' from 'chaco.api' when running chaco/examples/demo/canvas/mptools.py
Reproduction Steps: python chaco/examples/demo/canvas/mptools.py
OS, Python version: [MacOS, python3.11, python3.8 (with EDM)]