a34e171a4ae9071af30733b2ebca61199977f2c8,enthought/chaco/tools/range_selection_overlay.py,RangeSelectionOverlay,_mapper_default,#RangeSelectionOverlay#,173
Before Change
// 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")
//------------------------------------------------------------------------
// Property getter/setters
//------------------------------------------------------------------------
@cached_property
def _get_plot(self):
return self.component
After Change
mapper = getattr(self.plot, self.axis + "_mapper")
if isinstance(mapper, GridMapper):
if self.axis == "index":
return mapper._xmapper
else:
return mapper._ymapper
else:
return mapper
//------------------------------------------------------------------------
// Property getter/setters
//------------------------------------------------------------------------
@cached_property
def _get_plot(self):
return self.component
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: enthought/chaco
Commit Name: a34e171a4ae9071af30733b2ebca61199977f2c8
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: _mapper_default
Project Name: enthought/chaco
Commit Name: a34e171a4ae9071af30733b2ebca61199977f2c8
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: _mapper_default
Project Name: explosion/thinc
Commit Name: f18edb70716b0262c211f8a8e0f6db531c1b8d55
Time: 2020-01-05
Author: honnibal+gh@gmail.com
File Name: thinc/layers/residual.py
Class Name:
Method Name: forward
Project Name: enthought/chaco
Commit Name: a34e171a4ae9071af30733b2ebca61199977f2c8
Time: 2009-11-10
Author: bhendrix@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/layers/svg_range_selection_overlay.py
Class Name: SvgRangeSelectionOverlay
Method Name: _get_mapper