Skip to content

Commit 10165e6

Browse files
committed
Update examples after visualization module rename
1 parent 2e452c9 commit 10165e6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

curve2d/ex_curve01.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
from geomdl import BSpline
99
from geomdl import utilities
1010

11+
# Try to load the visualization module
1112
try:
1213
render_curve = True
13-
from geomdl.geomdl_vis import VisMPL
14+
from geomdl.visualization import VisMPL
1415
except ImportError:
1516
render_curve = False
1617

curve3d/ex_curve3d01.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
from geomdl import BSpline
99
from geomdl import utilities
1010

11+
# Try to load the visualization module
1112
try:
1213
render_curve = True
13-
from geomdl.geomdl_vis import VisMPL
14+
from geomdl.visualization import VisMPL
1415
except ImportError:
1516
render_curve = False
1617

0 commit comments

Comments
 (0)