earthlab / matplotcheck

A python package for checking and testing matplotlib plots. We use this for autograding student assignments but there are many other potential use cases including package testing (for packages with plots)!
https://matplotcheck.readthedocs.io
BSD 3-Clause "New" or "Revised" License
18 stars 8 forks source link

Import class from package without specifying file #5

Closed kdcurry closed 5 years ago

kdcurry commented 6 years ago

Is it possible to import a class from the package without explicitly stating which file the class is in?

For example: To use PlotTester, I have to call from autograde.base import PlotTester

Ideally, I would like to just call from autograde import PlotTester

lwasser commented 5 years ago

i think for the time being we can also close this issue. we've been importing the class via modules and it seems to work just fine!!