diff --git a/docs/conf.py b/docs/conf.py index 382159dc..35153b0c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -43,8 +43,7 @@ 'sphinx.ext.viewcode', 'sphinx.ext.mathjax', 'sphinxcontrib.napoleon', - 'sphinx_gallery.gen_gallery', - 'sphinxcontrib.yt' + 'sphinx_gallery.gen_gallery' ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/environment.yml b/docs/environment.yml index f918cfce..1de0f9cd 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -12,5 +12,4 @@ dependencies: - sphinxcontrib-napoleon - sphinx_bootstrap_theme - networkx - - sphinxcontrib.yt diff --git a/examples/01_DataOperations/plot_adjacency.py b/examples/01_DataOperations/plot_adjacency.py index ea68478b..f77a4ce2 100644 --- a/examples/01_DataOperations/plot_adjacency.py +++ b/examples/01_DataOperations/plot_adjacency.py @@ -24,7 +24,7 @@ m1 = block_diag(np.ones((4, 4)), np.zeros((4, 4)), np.zeros((4, 4))) m2 = block_diag(np.zeros((4, 4)), np.ones((4, 4)), np.zeros((4, 4))) -m3 = block_diag(np.zeros((4, 4)), np.zeros((4, 4)), np.ones((4, 4)))*3 +m3 = block_diag(np.zeros((4, 4)), np.zeros((4, 4)), np.ones((4, 4))) noisy = (m1*1+m2*2+m3*3) + np.random.randn(12, 12)*.1 dat = Adjacency(noisy, matrix_type='similarity', labels=['C1']*4 + ['C2']*4 + ['C3']*4)