c14fde94eb1afb535493018edaef29b09a5a3409,enthought/chaco/layers/svg_range_selection_overlay.py,SvgRangeSelectionOverlay,_get_mapper,#SvgRangeSelectionOverlay#,131

Before Change



    @cached_property
    def _get_mapper(self):
        return getattr(self.plot, self.axis + "_mapper")

After Change


    def _get_mapper(self):
        // If the plot"s mapper is a GridMapper, but the has a container,
        // use the container"s mapper instead. 
        mapper = getattr(self.plot, self.axis + "_mapper")
        if isinstance(mapper, GridMapper) \
                and self.plot.container is not None:
            return getattr(self.plot.container, self.axis + "_mapper")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: enthought/chaco
Commit Name: c14fde94eb1afb535493018edaef29b09a5a3409
Time: 2009-11-09
Author: bhendrix@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/layers/svg_range_selection_overlay.py
Class Name: SvgRangeSelectionOverlay
Method Name: _get_mapper


Project Name: enthought/chaco
Commit Name: 64313b530adf7b00d485e5ea3263bc0dc410d45d
Time: 2009-11-10
Author: bhendrix@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/tools/range_selection_overlay.py
Class Name: RangeSelectionOverlay
Method Name: _get_mapper


Project Name: jazzband/django-debug-toolbar
Commit Name: 908b49cb7d2d527b701996f0d0b9e1e19e765819
Time: 2013-11-24
Author: aymeric.augustin@m4x.org
File Name: debug_toolbar/settings.py
Class Name:
Method Name: