69a472517120ffee300a967b2fe9b3bc05f5cf4b,Orange/widgets/unsupervised/owmds.py,OWMDS,_setup_plot,#OWMDS#,363

Before Change


                color_data = [palette.getRGB(i) for i in range(len(attr))]
                pen_data = [make_pen(QtGui.QColor(r, g, b, self.symbol_opacity),
                                     cosmetic=True)
                            for r, g, b in color_data]
            else:
                pen_data = make_pen(QtGui.QColor(Qt.darkGray), cosmetic=True)
            self._pen_data = pen_data

After Change



                color_data = mdsplotutils.color_data(
                    self.data, color_var, plotstyle=mdsplotutils.plotstyle)
                color_data = numpy.hstack(
                    (color_data,
                     numpy.full((len(color_data), 1), self.symbol_opacity))
                )
                pen_data = mdsplotutils.pen_data(color_data, pointflags)
            elif have_matrix_transposed and self.colorvar_model[self.color_index] == "Attribute names":
                attr = attributes(self.matrix)
                palette = colorpalette.ColorPaletteGenerator(len(attr))
                color_data = [palette.getRGB(i) for i in range(len(attr))]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: biolab/orange3
Commit Name: 69a472517120ffee300a967b2fe9b3bc05f5cf4b
Time: 2015-06-23
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/widgets/unsupervised/owmds.py
Class Name: OWMDS
Method Name: _setup_plot


Project Name: SheffieldML/GPy
Commit Name: 51ff92e59151a08a05097565457e113f9090b311
Time: 2013-04-11
Author: ibinbei@gmail.com
File Name: GPy/models/mrd.py
Class Name: MRD
Method Name: _log_likelihood_gradients


Project Name: vc1492a/PyNomaly
Commit Name: 2526879b1f941c887eeb24a267b5ea010e20d5d7
Time: 2017-12-17
Author: vc1492a@gmail.com
File Name: PyNomaly/loop.py
Class Name: LocalOutlierProbability
Method Name: _ssd