mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-11 12:43:04 +08:00
Second part of I/O infrastructure reorganisation.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import plugin
|
||||
from _plugin_util import prepare_for_display
|
||||
from util import prepare_for_display
|
||||
|
||||
import numpy as np
|
||||
import sys
|
||||
@@ -37,7 +37,7 @@ else:
|
||||
def show(arr, block=True):
|
||||
global app
|
||||
|
||||
if not '-q4thread' in sys.argv and app is None:
|
||||
if not '-qt4thread' in sys.argv and app is None:
|
||||
app = QApplication([])
|
||||
|
||||
arr = prepare_for_display(arr)
|
||||
|
||||
Reference in New Issue
Block a user