@recordable
    def new_scene(self, name=None, **kwargs):
        action = NewScene(window=self.window)
        editor = action.perform(None)
        if name is not None:
            editor.name = name

        # Flush the UI.
        GUI.process_events()
        return self.scenes[-1]
Test on empty tables.
dataset/ETHPy150Open enthought/mayavi/mayavi/plugins/envisage_engine.py/EnvisageEngine.new_scene--crossover with--dataset/ETHPy150Open Robpol86/terminaltables/tests/test_max_width.py/test_empty