334f7e5d6699b9adc9a6b6d64929a070c958fed2,pygsp/plotting.py,,pg_plot_signal,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,652

Before Change


        w.setWindowTitle(G.gtype)

    // Plot signal
    pos = np.array([0., 1., 0.5, 0.25, 0.75])
    color = np.array([[0, 255, 255, 255], [255, 255, 0, 255], [0, 0, 0, 255],
                      (0, 0, 255, 255), (255, 0, 0, 255)], dtype=np.ubyte)
    cmap = pg.ColorMap(pos, color)

After Change


                w.addItem(gp)

    // Plot signal on top
    pos = np.arange(0, 1.01, .25)
    color = np.array([[249, 251, 14, 255], [20, 133, 212, 255], [48, 174, 170, 255],
                      [210, 184, 87, 255], [53, 42, 135, 255]])
    cmap = pg.ColorMap(pos, color)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: epfl-lts2/pygsp
Commit Name: 334f7e5d6699b9adc9a6b6d64929a070c958fed2
Time: 2016-04-29
Author: lionel.martin@epfl.ch
File Name: pygsp/plotting.py
Class Name:
Method Name: pg_plot_signal


Project Name: biotite-dev/biotite
Commit Name: e71e000fe89c58396e1d61f238912282fbbde810
Time: 2019-11-11
Author: bauer@cbs.tu-darmstadt.de
File Name: tests/structure/test_density.py
Class Name:
Method Name: test_density_weights


Project Name: luispedro/mahotas
Commit Name: bf50aed084ac14e44a5e7b146e263b3e0e8516cc
Time: 2010-11-11
Author: lpc@cmu.edu
File Name: mahotas/tas.py
Class Name:
Method Name:


Project Name: scipy/scipy
Commit Name: 99acbc72c3ab0b6b254a824e284c3e4f01c4cde7
Time: 2020-11-10
Author: grlee77@gmail.com
File Name: scipy/ndimage/tests/test_interpolation.py
Class Name: TestNdimageInterpolation
Method Name: test_boundary_spline_accuracy