mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-17 11:32:45 +08:00
Fix imports under Python 3.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
from linetool import LineTool, ThickLineTool
|
||||
from recttool import RectangleTool
|
||||
from painttool import PaintTool
|
||||
from .linetool import LineTool, ThickLineTool
|
||||
from .recttool import RectangleTool
|
||||
from .painttool import PaintTool
|
||||
|
||||
@@ -5,7 +5,7 @@ try:
|
||||
except ImportError:
|
||||
print("Could not import matplotlib -- skimage.viewer not available.")
|
||||
|
||||
from base import CanvasToolBase, ToolHandles
|
||||
from .base import CanvasToolBase, ToolHandles
|
||||
|
||||
|
||||
__all__ = ['LineTool', 'ThickLineTool']
|
||||
|
||||
@@ -8,7 +8,7 @@ try:
|
||||
except ImportError:
|
||||
print("Could not import matplotlib -- skimage.viewer not available.")
|
||||
|
||||
from base import CanvasToolBase
|
||||
from .base import CanvasToolBase
|
||||
|
||||
|
||||
__all__ = ['PaintTool']
|
||||
|
||||
@@ -1 +1 @@
|
||||
from core import *
|
||||
from .core import *
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
from core import *
|
||||
from history import *
|
||||
from .core import *
|
||||
from .history import *
|
||||
|
||||
Reference in New Issue
Block a user