Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Dec 18, 2022
1 parent cf6b1fb commit 0810d7a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/sage/geometry/toric_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@
from math import pi

from sage.misc.lazy_import import lazy_import
lazy_import("sage.functions.all", "arccos, arctan2, ceil", "floor")
lazy_import("sage.functions.all", ["arccos", "arctan2", "ceil", "floor"])
from sage.geometry.polyhedron.constructor import Polyhedron
from sage.modules.free_module_element import vector
from sage.misc.lazy_import import lazy_import
lazy_import("sage.plot.all", ["Color", "Graphics",
"arrow", "disk", "line", "point",
"polygon", "rainbow", "text"])
Expand Down
5 changes: 2 additions & 3 deletions src/sage/interacts/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,16 @@
from sage.misc.lazy_import import lazy_import
lazy_import("sage.calculus.all", "symbolic_expression")
lazy_import("sage.calculus.functional", "derivative")
lazy_import("sage.calculus.integration", "numerical_integral as integral_numerical")
lazy_import("sage.calculus.integration", "numerical_integral", as_="integral_numerical")
from sage.ext.fast_callable import fast_callable
lazy_import("sage.functions.log", "exp")
lazy_import("sage.functions.trig", "acos", "cos", "sin", "tan")
lazy_import("sage.functions.trig", ["acos", "cos", "sin", "tan"])
from sage.misc.functional import sqrt
from sage.misc.decorators import sage_wraps
from sage.misc.functional import N
from sage.misc.latex import latex
from sage.misc.sage_eval import sage_eval
from sage.misc.table import table
from sage.misc.lazy_import import lazy_import
lazy_import("sage.plot.circle", "circle")
lazy_import("sage.plot.complex_plot", "complex_plot")
lazy_import("sage.plot.disk", "disk")
Expand Down
4 changes: 2 additions & 2 deletions src/sage/plot/hyperbolic_regular_polygon.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
from sage.rings.integer import Integer
from sage.misc.decorators import options, rename_keyword
from sage.misc.lazy_import import lazy_import
lazy_import("sage.symbolic.constants", "pi", "e")
lazy_import("sage.symbolic.constants", ["pi", "e"])
lazy_import("sage.functions.hyperbolic", "arccosh")
lazy_import("sage.functions.trig", "sin", "cos, cot")
lazy_import("sage.functions.trig", ["sin", "cos", "cot"])
from sage.misc.functional import is_odd
from sage.matrix.constructor import matrix

Expand Down

0 comments on commit 0810d7a

Please sign in to comment.