equinor / xtgeo

XTGeo Python class library for subsurface Surfaces, Cubes, Wells, Grids, Points, etc
https://xtgeo.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
109 stars 56 forks source link

Remove bare `import xtgeo` imports, use relative imports where appropriate #1149

Open mferrera opened 5 months ago

mferrera commented 5 months ago

In most files there is an import xtgeo to use various things. This reflects how xtgeo is used as a library but complicates the circular dependency scenario. We should remove all of these and also move imports to relative where appropriate (i.e. in the same submodule).