Skip to content

Commit b533574

Browse files
committed
src/sage/dynamics/complex_dynamics/mandel_julia.py: Modularization fixes (imports)
1 parent 4728ca2 commit b533574

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/sage/dynamics/complex_dynamics/mandel_julia.py

+11-10
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,9 @@
3131
# http://www.gnu.org/licenses/
3232
#*****************************************************************************
3333

34-
from sage.dynamics.complex_dynamics.mandel_julia_helper import (fast_mandelbrot_plot,
35-
fast_external_ray,
36-
convert_to_pixels,
37-
get_line,
38-
fast_julia_plot,
39-
general_julia,
40-
polynomial_mandelbrot,
41-
julia_helper)
42-
4334
from sage.misc.lazy_import import lazy_import
4435
lazy_import("sage.plot.colors", "Color")
45-
from sage.repl.image import Image
36+
lazy_import("sage.repl.image", "Image")
4637
from sage.functions.log import logb
4738
from sage.functions.other import floor
4839
from sage.rings.rational_field import QQ
@@ -56,6 +47,16 @@
5647
from sage.categories.function_fields import FunctionFields
5748

5849
lazy_import('sage.dynamics.arithmetic_dynamics.generic_ds', 'DynamicalSystem')
50+
lazy_import('sage.dynamics.complex_dynamics.mandel_julia_helper', (
51+
'fast_mandelbrot_plot',
52+
'fast_external_ray',
53+
'convert_to_pixels',
54+
'get_line',
55+
'fast_julia_plot',
56+
'general_julia',
57+
'polynomial_mandelbrot',
58+
'julia_helper'
59+
))
5960

6061
EPS = 0.00001
6162

0 commit comments

Comments
 (0)