

def test_plotting(self):
    np.random.seed(3141592)
    api = scot.Workspace(VAR(1), locations=[[0, 0, 1], [1, 0, 0], [0, 1, 0], [(- 1), 0, 0], [0, (- 1), 0]])
    api.set_data(np.random.randn(10, 5, 10), ([1, 0] * 5))
    api.do_mvarica()
    api.plot_source_topos()
    for diag in ['S', 'fill', 'topo']:
        for outside in [True, False]:
            api.plot_diagonal = diag
            api.plot_outside_topo = outside
            fig = api.plot_connectivity_topos()
            api.get_connectivity('PHI', plot=fig)
            api.get_surrogate_connectivity('PHI', plot=fig, repeats=5)
            api.get_bootstrap_connectivity('PHI', plot=fig, repeats=5)
            api.get_tf_connectivity('PHI', winlen=2, winstep=1, plot=fig)
            api.compare_conditions([0], [1], 'PHI', plot=fig, repeats=5)

dataset/ETHPy150Open scot-dev/scot/scot/tests/test_ooapi.py TestMVARICA.test_plotting/original