def mdi_wrap(self):
        from glue.app.qt.mdi_area import GlueMdiSubWindow
        sub = GlueMdiSubWindow()
        sub.setWidget(self)
        self.destroyed.connect(sub.close)
        sub.resize(self.size())
        self._mdi_wrapper = sub

        return sub
Create a new array.
dataset/ETHPy150Open glue-viz/glue/glue/viewers/common/qt/data_viewer.py/DataViewer.mdi_wrap--crossover with--dataset/ETHPy150Open PyTables/PyTables/tables/file.py/File.create_array