autoplot / python

bridge from python, using jpype
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

__init__.py imports makes things confusing #8

Open jbfaden opened 1 year ago

jbfaden commented 1 year ago

Right now there's an init.py which imports five names from autoplot.autoplot, which makes it confusing because you can say both:

from autoplot import javaaddpath  # and
from autoplot.autoplot import javaaddpath

I'm not sure what the motivation was, but it seems misguided and confusing now. "Allow 'from autoplot import javaaddpath'" says the documentation.

rweigel commented 1 year ago

Be careful with changing this b/c a change may break existing code.