99de6549f5e656c4bfc8114382e56f8851c04680,enthought/chaco/tools/simple_zoom.py,SimpleZoom,_reset_state_to_current,#SimpleZoom#,547

Before Change

After Change


        else:
            if self.component.x_mapper is not None:
                x_range = self.component.x_mapper.range
                xlow = x_range.low
                xhigh = x_range.high
            else:
                xlow = "auto"
                xhigh = "auto"

            if self.component.y_mapper is not None:
                y_range = self.component.y_mapper.range
                ylow = y_range.low
                yhigh = y_range.high
            else:
                ylow = "auto"
                yhigh = "auto"

            self._reset_state(((xlow, ylow),
                               (xhigh, yhigh)))

    def _reset_state_pressed(self):
         Called when the tool needs to reset its history. 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: enthought/chaco
Commit Name: 99de6549f5e656c4bfc8114382e56f8851c04680
Time: 2008-10-10
Author: pwang@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/tools/simple_zoom.py
Class Name: SimpleZoom
Method Name: _reset_state_to_current


Project Name: SPFlow/SPFlow
Commit Name: 9abdb78fb6f02710414a565ed87327c77e7d9c90
Time: 2018-12-11
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/structure/leaves/parametric/utils.py
Class Name:
Method Name: get_scipy_obj_params


Project Name: comic/grand-challenge.org
Commit Name: 504edaa9e9515ad43e5fbcdbf6024bdab572c7c5
Time: 2019-06-07
Author: harm.van.zeeland@gmail.com
File Name: app/grandchallenge/annotations/models.py
Class Name: ImageQualityAnnotation
Method Name: ImageQualityAnnotation_1


Project Name: tyiannak/pyAudioAnalysis
Commit Name: 44a67ccafb42ff7e2fef248aa8cc040c05846e5f
Time: 2020-04-23
Author: tyiannak@gmail.com
File Name: pyAudioAnalysis/audioTrainTest.py
Class Name:
Method Name: model_precision_recall_curve