mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-27 21:08:24 +08:00
Merge pull request #1406 from anntzer/plugins-relative-imports
Use relative imports to plugins.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from util import prepare_for_display, window_manager, GuiLockError
|
||||
from .util import prepare_for_display, window_manager, GuiLockError
|
||||
|
||||
try:
|
||||
# we try to aquire the gui lock first
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
from PyQt4 import QtGui, QtCore
|
||||
from PyQt4.QtGui import (QWidget, QStackedWidget, QSlider, QGridLayout, QLabel)
|
||||
|
||||
from util import ColorMixer
|
||||
from .util import ColorMixer
|
||||
|
||||
|
||||
class IntelligentSlider(QWidget):
|
||||
|
||||
@@ -2,7 +2,7 @@ import numpy as np
|
||||
|
||||
from PyQt4.QtGui import QWidget, QPainter, QGridLayout, QColor, QFrame
|
||||
|
||||
from util import histograms
|
||||
from .util import histograms
|
||||
|
||||
|
||||
class ColorHistogram(QWidget):
|
||||
|
||||
Reference in New Issue
Block a user