enthought / chaco

Chaco is a Python package for building interactive and custom 2-D plots.
http://docs.enthought.com/chaco/
Other
291 stars 101 forks source link

MAINT: fix the function interpretation for scalar_image_function_inspector.py #894

Closed homosapien-lcy closed 1 year ago

homosapien-lcy commented 1 year ago

After the update of python version, the how "exec" works seem have changed in certain versions and caused exec("import *") to fail. This has caused issue in issue #890 . To address this issue, I changed the import to include specific name of the modules (cos, tanh, jn) in use. Closes issue #890