5713b5614ee69f7e6ddfae34a5bc0c740ca53a23,enthought/chaco2/color_mapper.py,ColorMapper,_get_color_bands,#ColorMapper#,249

Before Change


            self._recalculate()

        if self.color_depth is "rgba":
            alpha = ones(self.steps)
            result = zip(self._red_lut, self._green_lut, self._blue_lut, alpha)

        else:

After Change


        if self.color_depth is "rgba":
            luts.append(self._alpha_lut)

        result = zip(*luts)

        return result
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: enthought/chaco
Commit Name: 5713b5614ee69f7e6ddfae34a5bc0c740ca53a23
Time: 2008-07-06
Author: rkern@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco2/color_mapper.py
Class Name: ColorMapper
Method Name: _get_color_bands


Project Name: SheffieldML/GPy
Commit Name: f1e3cfaed0d27d697cdcb8c461662561aa9a4bd4
Time: 2013-05-02
Author: acq11ra@sheffield.ac.uk
File Name: GPy/likelihoods/likelihood_functions.py
Class Name: probit
Method Name: predictive_values


Project Name: stanford-mast/nn_dataflow
Commit Name: 50e2092734bda427bd6e331968d2a5f221710143
Time: 2017-05-05
Author: mgao12@stanford.edu
File Name: nn_dataflow/Util.py
Class Name:
Method Name: factorize