3894c1d2556f700d82c0a7883cacdeaaee09035c,enthought/chaco/tools/base_zoom_tool.py,BaseZoomTool,_zoom_limit_reached,#BaseZoomTool#,26

Before Change


            // original bounds were infinite, since any finite zoom
            // range will certainly exceed whatever zoom factor is set.
            // In this case, we just allow unbounded levels of zoom.
            return False
        
        new_bounds = new_high - new_low
        if allclose(orig_bounds, 0.0):
            return True

After Change


                return True

        if mapper is not None:
            domain_min, domain_max = getattr(mapper, "domain_limits", (None,None))
            if domain_min is None:
                domain_min = -inf
            if domain_max is None:
                domain_max = inf
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: enthought/chaco
Commit Name: 3894c1d2556f700d82c0a7883cacdeaaee09035c
Time: 2009-02-10
Author: pwang@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/tools/base_zoom_tool.py
Class Name: BaseZoomTool
Method Name: _zoom_limit_reached


Project Name: matthewwithanm/django-imagekit
Commit Name: 8885325bfc98a2771d45bff3551238e40d754c83
Time: 2011-11-01
Author: matthew@exanimo.com
File Name: imagekit/models.py
Class Name: ImageSpecFile
Method Name: name


Project Name: jazzband/django-debug-toolbar
Commit Name: 12fdf7ea605d3716d6c9127e22a63bcc345d55be
Time: 2012-04-06
Author: jannis@leidel.info
File Name: debug_toolbar/panels/cache.py
Class Name: CacheDebugPanel
Method Name: title


Project Name: matthewwithanm/django-imagekit
Commit Name: fb53981ec80d160d7274622d12c8f036ab469ecb
Time: 2011-09-21
Author: matthew@exanimo.com
File Name: imagekit/fields.py
Class Name: BoundImageSpec
Method Name: _imgfield