

def main(self, argv=None, plugins=None):
    'The main application is created and launched here.\n\n        Parameters\n        ----------\n        argv : list of strings\n            The list of command line arguments.  The default is `None`\n            where no command line arguments are parsed.  To support\n            command line arguments you can pass `sys.argv[1:]`.\n        plugins : list of Plugin objects\n            List of plugins to start.  If none is provided it defaults to\n            something meaningful.\n        log_mode :\n            The logging mode to use.\n\n        '
    if (argv is None):
        argv = []
    self.parse_command_line(argv)
    if (plugins is None):
        plugins = get_plugins()
    plugins += get_custom_plugins()
    prefs = preference_manager.preferences
    app = MayaviWorkbenchApplication(plugins=app, preferences=prefs, start_gui_event_loop=self.start_gui_event_loop)
    self.application = app
    self.setup_logger()
    app.run()

dataset/ETHPy150Open enthought/mayavi/mayavi/plugins/app.py Mayavi.main/VarMisuse@76/270 `plugins`->`app`