def add_data(self, data):
        """Add a new data set to the widget

        :returns: True if the addition was expected, False otherwise
        """
        if data in self.client:
            return

        self._update_combos(data)
        self.client.add_layer(data)
        return True
dataset/ETHPy150Open glue-viz/glue/glue/plugins/dendro_viewer/qt/viewer_widget.py/DendroWidget.add_data/original