Second part of I/O infrastructure reorganisation.

This commit is contained in:
Stefan van der Walt
2009-11-02 01:49:47 +02:00
parent 6b7aebb563
commit 27a516c0de
9 changed files with 58 additions and 27 deletions
+2 -2
View File
@@ -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)