61316eb8e96fcd975f1e93da6d69f6426a3b3caf,pygsp/plotting.py,,_pg_plot_signal,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,590

Before Change


    // Plot edges
    if show_edges:
        ki, kj = np.nonzero(G.A)
        if G.directed:
            raise NotImplementedError("TODO")
            if G.coords.shape[1] == 2:
                raise NotImplementedError("TODO")
            else:
                raise NotImplementedError("TODO")
        else:
            if G.coords.shape[1] == 2:
                adj = np.concatenate((np.expand_dims(ki, axis=1),
                                      np.expand_dims(kj, axis=1)), axis=1)

After Change


    // Plot edges
    if show_edges:
        ki, kj = np.nonzero(G.A)
        if G.is_directed():
            raise NotImplementedError
        else:
            if G.coords.shape[1] == 2:
                adj = np.concatenate((np.expand_dims(ki, axis=1),
                                      np.expand_dims(kj, axis=1)), axis=1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 14

Instances


Project Name: epfl-lts2/pygsp
Commit Name: 61316eb8e96fcd975f1e93da6d69f6426a3b3caf
Time: 2017-08-17
Author: michael.defferrard@epfl.ch
File Name: pygsp/plotting.py
Class Name:
Method Name: _pg_plot_signal


Project Name: epfl-lts2/pygsp
Commit Name: 61316eb8e96fcd975f1e93da6d69f6426a3b3caf
Time: 2017-08-17
Author: michael.defferrard@epfl.ch
File Name: pygsp/plotting.py
Class Name:
Method Name: _pg_plot_graph


Project Name: epfl-lts2/pygsp
Commit Name: 61316eb8e96fcd975f1e93da6d69f6426a3b3caf
Time: 2017-08-17
Author: michael.defferrard@epfl.ch
File Name: pygsp/plotting.py
Class Name:
Method Name: _plt_plot_signal


Project Name: epfl-lts2/pygsp
Commit Name: 61316eb8e96fcd975f1e93da6d69f6426a3b3caf
Time: 2017-08-17
Author: michael.defferrard@epfl.ch
File Name: pygsp/plotting.py
Class Name:
Method Name: _plt_plot_graph


Project Name: epfl-lts2/pygsp
Commit Name: 61316eb8e96fcd975f1e93da6d69f6426a3b3caf
Time: 2017-08-17
Author: michael.defferrard@epfl.ch
File Name: pygsp/plotting.py
Class Name:
Method Name: _pg_plot_signal