Add skimage.viewer.qt wrapper.

This allows the viewer to use either PyQt4 or PySide as the toolkit.
This commit is contained in:
Tony S Yu
2013-05-17 16:22:17 -05:00
committed by tonysyu
parent 210a25053a
commit a5d42a3940
11 changed files with 59 additions and 41 deletions
+1 -5
View File
@@ -1,9 +1,5 @@
import numpy as np
try:
from PyQt4 import QtGui
except ImportError:
print("Could not import PyQt4 -- skimage.viewer not available.")
from ..qt import QtGui
from ..utils import new_plot
from .base import Plugin