441a6bc2d0aa677c2db0ad0f3387eb4602ad85a0,lib/matplotlib/widgets.py,RadioButtons,_clicked,#RadioButtons#Any#,1022

Before Change


        self.observers = {}

    def _clicked(self, event):
        if self.ignore(event):
            return
        if event.button != 1:
            return
        if event.inaxes != self.ax:
            return
        xy = self.ax.transAxes.inverted().transform_point((event.x, event.y))
        pclicked = np.array([xy[0], xy[1]])

        def inside(p):

After Change


        self.observers = {}

    def _clicked(self, event):
        if self.ignore(event) or event.button != 1 or event.inaxes != self.ax:
            return
        xy = self.ax.transAxes.inverted().transform_point((event.x, event.y))
        pclicked = np.array([xy[0], xy[1]])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: matplotlib/matplotlib
Commit Name: 441a6bc2d0aa677c2db0ad0f3387eb4602ad85a0
Time: 2018-02-24
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: RadioButtons
Method Name: _clicked


Project Name: matplotlib/matplotlib
Commit Name: 613111c3fe8095bf9841ea19f794a6d0f1fe88a9
Time: 2019-09-09
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: Button
Method Name: _release


Project Name: matplotlib/matplotlib
Commit Name: 441a6bc2d0aa677c2db0ad0f3387eb4602ad85a0
Time: 2018-02-24
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: CheckButtons
Method Name: _clicked


Project Name: matplotlib/matplotlib
Commit Name: 613111c3fe8095bf9841ea19f794a6d0f1fe88a9
Time: 2019-09-09
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/widgets.py
Class Name: Button
Method Name: _click