Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/o/r/orange3-HEAD/Orange/widgets/visualize/owmosaic.py   orange3(Download)
    def setData(self, data):
        self.closeContext()
        self.data = None
        self.bestPlacements = None
        self.manualAttributeValuesDict = {}

src/o/r/orange3-HEAD/Orange/widgets/data/owselectattributes.py   orange3(Download)
    def set_data(self, data=None):
        self.update_domain_role_hints()
        self.closeContext()
        self.data = data
        if data is not None:

src/o/r/orange3-HEAD/Orange/widgets/data/owselectdata.py   orange3(Download)
    def set_data(self, data):
        self.closeContext()
        self.data = data
        self.remove_all_rows()
        self.add_button.setDisabled(data is None)

src/o/r/orange3-HEAD/Orange/widgets/visualize/owscatterplot.py   orange3(Download)
            return    # check if the new data set is the same as the old one
 
        self.closeContext()
        sameDomain = self.data and data and data.domain.checksum() == self.data.domain.checksum() # preserve attribute choice if the domain is the same
        self.data = data

src/o/r/orange3-HEAD/Orange/widgets/data/owfeatureconstructor.py   orange3(Download)
    def setData(self, data=None):
        self.closeContext()
 
        self.featuremodel.wrap([])
        self.currentIndex = -1

src/o/r/orange3-HEAD/Orange/widgets/visualize/owboxplot.py   orange3(Download)
    def data(self, dataset):
        if dataset is not None and (
                not len(dataset) or not len(dataset.domain)):
            dataset = None
        self.closeContext()