Skip to content

Commit c9f1823

Browse files
author
Matthias Koeppe
committed
src/sage/plot/hyperbolic_regular_polygon.py: Sort imports, replace .all import, separate out lazy_import
1 parent 539a997 commit c9f1823

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/sage/plot/hyperbolic_regular_polygon.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,18 @@
1717
# https://www.gnu.org/licenses/
1818
#*****************************************************************************
1919

20+
from sage.matrix.constructor import matrix
21+
from sage.misc.decorators import options, rename_keyword
22+
from sage.misc.functional import is_odd
23+
from sage.misc.lazy_import import lazy_import
2024
from sage.plot.hyperbolic_polygon import HyperbolicPolygon
21-
from sage.plot.all import Graphics
25+
from sage.plot.plot import Graphics
2226
from sage.rings.cc import CC
2327
from sage.rings.integer import Integer
24-
from sage.misc.decorators import options, rename_keyword
25-
from sage.misc.lazy_import import lazy_import
26-
lazy_import("sage.symbolic.constants", ["pi", "e"])
28+
2729
lazy_import("sage.functions.hyperbolic", "arccosh")
2830
lazy_import("sage.functions.trig", ["sin", "cos", "cot"])
29-
from sage.misc.functional import is_odd
30-
from sage.matrix.constructor import matrix
31+
lazy_import("sage.symbolic.constants", ["pi", "e"])
3132

3233

3334
class HyperbolicRegularPolygon(HyperbolicPolygon):

0 commit comments

Comments
 (0)