Skip to content

Commit 9dbe263

Browse files
author
Matthias Koeppe
committed
src/sage/plot/plot3d/plot3d.py: Sort imports, replace relative imports, separate out lazy_import
1 parent c9f1823 commit 9dbe263

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/sage/plot/plot3d/plot3d.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,16 @@ def f(x,y): return math.exp(x/5)*math.cos(y)
147147
# https://www.gnu.org/licenses/
148148
# ****************************************************************************
149149

150-
from .tri_plot import TrianglePlot
151-
from .index_face_set import IndexFaceSet
152-
from .shapes import arrow3d
153-
from .base import Graphics3dGroup
150+
from sage.misc.lazy_import import lazy_import
151+
from sage.misc.sageinspect import sage_getargspec, is_function_or_cython_function
154152
from sage.plot.colors import rainbow
155-
from .texture import Texture
153+
from sage.plot.plot3d.base import Graphics3dGroup
154+
from sage.plot.plot3d.index_face_set import IndexFaceSet
155+
from sage.plot.plot3d.shapes import arrow3d
156+
from sage.plot.plot3d.texture import Texture
157+
from sage.plot.plot3d.tri_plot import TrianglePlot
156158

157-
from sage.misc.lazy_import import lazy_import
158159
lazy_import("sage.functions.trig", ["cos", "sin"])
159-
from sage.misc.sageinspect import sage_getargspec, is_function_or_cython_function
160160

161161

162162
class _Coordinates:

0 commit comments

Comments
 (0)