Skip to content

Commit

Permalink
Merge pull request sagemath#268 from passagemath/sage.dynamics.comple…
Browse files Browse the repository at this point in the history
…x_dynamics-modularization-2

sage.dynamics.complex_dynamics: Modularization fixes (imports)
  • Loading branch information
mkoeppe authored Nov 3, 2024
2 parents d4fcaff + b533574 commit eb86901
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/sage/dynamics/complex_dynamics/mandel_julia.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,9 @@
# http://www.gnu.org/licenses/
#*****************************************************************************

from sage.dynamics.complex_dynamics.mandel_julia_helper import (fast_mandelbrot_plot,
fast_external_ray,
convert_to_pixels,
get_line,
fast_julia_plot,
general_julia,
polynomial_mandelbrot,
julia_helper)

from sage.misc.lazy_import import lazy_import
lazy_import("sage.plot.colors", "Color")
from sage.repl.image import Image
lazy_import("sage.repl.image", "Image")
from sage.functions.log import logb
from sage.functions.other import floor
from sage.rings.rational_field import QQ
Expand All @@ -56,6 +47,16 @@
from sage.categories.function_fields import FunctionFields

lazy_import('sage.dynamics.arithmetic_dynamics.generic_ds', 'DynamicalSystem')
lazy_import('sage.dynamics.complex_dynamics.mandel_julia_helper', (
'fast_mandelbrot_plot',
'fast_external_ray',
'convert_to_pixels',
'get_line',
'fast_julia_plot',
'general_julia',
'polynomial_mandelbrot',
'julia_helper'
))

EPS = 0.00001

Expand Down

0 comments on commit eb86901

Please sign in to comment.