def save_process(MAVExpLastGraph):
 from MAVProxy.modules.lib import wx_processguard
 from MAVProxy.modules.lib.wx_loader import wx
 from MAVProxy.modules.lib.wxgrapheditor import GraphDialog
 app = wx.App(False)
 frame = GraphDialog('Graph Editor', MAVExpLastGraph, save_callback)
 frame.ShowModal()
 frame.Destroy()

def save_process ( MAVExpLastGraph ) : from MAVProxy . modules . lib import wx_processguard from MAVProxy . modules . lib . wx_loader import wx from MAVProxy . modules . lib . wxgrapheditor import GraphDialog app = wx . App ( False ) frame = GraphDialog ( 'Graph Editor' , MAVExpLastGraph , save_callback ) frame . ShowModal ( ) frame . Destroy ( )
process for saving a graph .