87537e094f01060c893099c7552db24e1fb1048a,hyperspy/component.py,Parameter,notebook_interaction,#Parameter#Any#,523

Before Change


            thismin.observe(on_min_change, names="value")
            thismax.observe(on_max_change, names="value")

            widget.observe(self._interactive_update, names="value")
            container = HBox()
            container.children = (thismin, widget, thismax)
            if not display:
                return container

After Change


            Otherwise returns the formatted widget object.
        
        try:
            if self._number_of_elements == 1:
                container = self._create_notebook_widget()
            else:
                children = [self._create_notebook_widget(index=i) for i in
                            range(self._number_of_elements)]
                container = VBox(children)
            if not display:
                return container
            ip_display(container)
        except TraitletError:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: hyperspy/hyperspy
Commit Name: 87537e094f01060c893099c7552db24e1fb1048a
Time: 2016-05-25
Author: to266@cam.ac.uk
File Name: hyperspy/component.py
Class Name: Parameter
Method Name: notebook_interaction


Project Name: facebookresearch/ParlAI
Commit Name: b9a661d7335a7a1c098a98c5085e7252b3c45940
Time: 2020-03-25
Author: jase@fb.com
File Name: parlai/tasks/convai2/worlds.py
Class Name: InteractiveWorld
Method Name: parley


Project Name: facebookresearch/ParlAI
Commit Name: a4ef6d22e3828067a3d4008a73d3b8188a352451
Time: 2018-08-10
Author: kulikov@fb.com
File Name: parlai/mturk/tasks/convai2_model_eval/worlds.py
Class Name: Convai2EvalWorld
Method Name: parley