We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91ae4a0 commit 05f1a9bCopy full SHA for 05f1a9b
1 file changed
Base/Python/vtkAddon.py
@@ -2,12 +2,4 @@
2
namespace.
3
"""
4
5
-# Importing VTK is required for loading its Python modules and ensuring seamless instantiation
6
-# of VTK-based MRML or Slicer Python modules from code executed in both "PythonSlicer executable"
7
-# and the "Slicer Python Console" environments. For more details, see Base/Python/slicer/__init__.py
8
-import vtk # noqa: F401
9
-
10
-from vtkAddonPython import *
11
12
-# Cleanup: Removing things the user shouldn't have to see.
13
-del vtk
+from vtkmodules.vtkAddonPython import *
0 commit comments