def launch_arrayeditor(data, title='', xlabels=None, ylabels=None):
 dlg = ArrayEditor()
 assert dlg.setup_and_check(data, title, xlabels=xlabels, ylabels=ylabels)
 dlg.show()
 dlg.accept()
 return dlg.get_value()

def launch_arrayeditor ( data , title = '' , xlabels = None , ylabels = None ) : dlg = ArrayEditor ( ) assert dlg . setup_and_check ( data , title , xlabels = xlabels , ylabels = ylabels ) dlg . show ( ) dlg . accept ( ) return dlg . get_value ( )
helper routine to launch an arrayeditor and return its result .