diff options
author | MridulS <mail@mriduls.com> | 2023-02-23 15:31:06 +0000 |
---|---|---|
committer | MridulS <mail@mriduls.com> | 2023-02-23 15:31:06 +0000 |
commit | 9e48ac05060c8f42de0e92d4e7e5b157b1c38978 (patch) | |
tree | b4f03a4dd4b6454e7a31e6692d1b35dffcc806f4 /auto_examples/algorithms/plot_blockmodel.html | |
parent | 5aa1fdf768771b57f057c25a320c034cb59644ca (diff) | |
download | networkx-9e48ac05060c8f42de0e92d4e7e5b157b1c38978.tar.gz |
Deploying to gh-pages from @ networkx/networkx@0b0a5fc5c512c2cbacd374860e47742e48a8dcfe 🚀
Diffstat (limited to 'auto_examples/algorithms/plot_blockmodel.html')
-rw-r--r-- | auto_examples/algorithms/plot_blockmodel.html | 41 |
1 files changed, 27 insertions, 14 deletions
diff --git a/auto_examples/algorithms/plot_blockmodel.html b/auto_examples/algorithms/plot_blockmodel.html index 42fbb098..8c86ee38 100644 --- a/auto_examples/algorithms/plot_blockmodel.html +++ b/auto_examples/algorithms/plot_blockmodel.html @@ -6,7 +6,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" /> - <title>Blockmodel — NetworkX 3.0rc2.dev0 documentation</title> + <title>Blockmodel — NetworkX 3.1rc1.dev0 documentation</title> @@ -47,14 +47,20 @@ <script>DOCUMENTATION_OPTIONS.pagename = 'auto_examples/algorithms/plot_blockmodel';</script> <link rel="canonical" href="https://networkx.org/documentation/stable/auto_examples/algorithms/plot_blockmodel.html" /> <link rel="search" type="application/opensearchdescription+xml" - title="Search within NetworkX 3.0rc2.dev0 documentation" + title="Search within NetworkX 3.1rc1.dev0 documentation" href="../../_static/opensearch.xml"/> <link rel="index" title="Index" href="../../genindex.html" /> <link rel="search" title="Search" href="../../search.html" /> <link rel="next" title="Circuits" href="plot_circuits.html" /> - <link rel="prev" title="Betweeness Centrality" href="plot_betweenness_centrality.html" /> + <link rel="prev" title="Betweenness Centrality" href="plot_betweenness_centrality.html" /> +<script + defer + data-domain="networkx.org" + src="https://views.scientific-python.org/js/script.js" +></script> + <meta name="viewport" content="width=device-width, initial-scale=1" /> - <meta name="docsearch:language" content="en"> + <meta name="docsearch:language" content="en"> </head> @@ -96,6 +102,12 @@ <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span> </form> </div> + </div><div class="bd-header-announcement container-fluid" id="header-announcement"> + + + +<div class="bd-header-announcement__content"><p><a href='https://forms.gle/NUGcBxyjx5onbAgc8'> NetworkX User Survey 2023</a> 🎉 Fill out the survey to tell us about your ideas, complaints, praises of NetworkX!</p></div> + </div> @@ -247,7 +259,7 @@ id="dLabelMore" data-toggle="dropdown" > - v3.0rc2.dev0 + v3.1rc1.dev0 <span class="caret"></span> </button> <ul class="dropdown-menu" aria-labelledby="dLabelMore"> @@ -410,7 +422,7 @@ id="dLabelMore" data-toggle="dropdown" > - v3.0rc2.dev0 + v3.1rc1.dev0 <span class="caret"></span> </button> <ul class="dropdown-menu" aria-labelledby="dLabelMore"> @@ -449,13 +461,14 @@ <li class="toctree-l1"><a class="reference internal" href="../graph/index.html">Graph</a></li> <li class="toctree-l1 current active has-children"><a class="reference internal" href="index.html">Algorithms</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" type="checkbox"/><label class="toctree-toggle" for="toctree-checkbox-1"><i class="fa-solid fa-chevron-down"></i></label><ul class="current"> <li class="toctree-l2"><a class="reference internal" href="plot_beam_search.html">Beam Search</a></li> -<li class="toctree-l2"><a class="reference internal" href="plot_betweenness_centrality.html">Betweeness Centrality</a></li> +<li class="toctree-l2"><a class="reference internal" href="plot_betweenness_centrality.html">Betweenness Centrality</a></li> <li class="toctree-l2 current active"><a class="current reference internal" href="#">Blockmodel</a></li> <li class="toctree-l2"><a class="reference internal" href="plot_circuits.html">Circuits</a></li> <li class="toctree-l2"><a class="reference internal" href="plot_davis_club.html">Davis Club</a></li> <li class="toctree-l2"><a class="reference internal" href="plot_dedensification.html">Dedensification</a></li> <li class="toctree-l2"><a class="reference internal" href="plot_iterated_dynamical_systems.html">Iterated Dynamical Systems</a></li> <li class="toctree-l2"><a class="reference internal" href="plot_krackhardt_centrality.html">Krackhardt Centrality</a></li> +<li class="toctree-l2"><a class="reference internal" href="plot_maximum_independent_set.html">Maximum Independent Set</a></li> <li class="toctree-l2"><a class="reference internal" href="plot_parallel_betweenness.html">Parallel Betweenness</a></li> <li class="toctree-l2"><a class="reference internal" href="plot_rcm.html">Reverse Cuthill–McKee</a></li> <li class="toctree-l2"><a class="reference internal" href="plot_snap.html">SNAP Graph Summary</a></li> @@ -555,7 +568,7 @@ used is the Hartford, CT drug users network:</p> <span class="n">H</span> <span class="o">=</span> <span class="n">G</span><span class="o">.</span><span class="n">subgraph</span><span class="p">(</span><span class="nb">next</span><span class="p">(</span><span class="n">nx</span><span class="o">.</span><span class="n">connected_components</span><span class="p">(</span><span class="n">G</span><span class="p">)))</span> <span class="c1"># Makes life easier to have consecutively labeled integer nodes</span> <span class="n">H</span> <span class="o">=</span> <span class="n">nx</span><span class="o">.</span><span class="n">convert_node_labels_to_integers</span><span class="p">(</span><span class="n">H</span><span class="p">)</span> -<span class="c1"># Create parititions with hierarchical clustering</span> +<span class="c1"># Create partitions with hierarchical clustering</span> <a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">partitions</span></a> <span class="o">=</span> <span class="n">create_hc</span><span class="p">(</span><span class="n">H</span><span class="p">)</span> <span class="c1"># Build blockmodel graph</span> <span class="n">BM</span> <span class="o">=</span> <span class="n">nx</span><span class="o">.</span><span class="n">quotient_graph</span><span class="p">(</span><span class="n">H</span><span class="p">,</span> <a href="https://docs.python.org/3/library/stdtypes.html#list" title="builtins.list" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">partitions</span></a><span class="p">,</span> <span class="n">relabel</span><span class="o">=</span><span class="kc">True</span><span class="p">)</span> @@ -579,7 +592,7 @@ used is the Hartford, CT drug users network:</p> <a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.show.html#matplotlib.pyplot.show" title="matplotlib.pyplot.show" class="sphx-glr-backref-module-matplotlib-pyplot sphx-glr-backref-type-py-function"><span class="n">plt</span><span class="o">.</span><span class="n">show</span></a><span class="p">()</span> </pre></div> </div> -<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.360 seconds)</p> +<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.551 seconds)</p> <div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-algorithms-plot-blockmodel-py"> <div class="sphx-glr-download sphx-glr-download-python docutils container"> <p><a class="reference download internal" download="" href="../../_downloads/efbe368eaa1e457c6c03d3f5a636063a/plot_blockmodel.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_blockmodel.py</span></code></a></p> @@ -604,11 +617,11 @@ used is the Hartford, CT drug users network:</p> <div class="toc-item"> -<div id="searchbox"></div> -</div> - -<div class="toc-item"> - +<form class="bd-search d-flex align-items-center" action="../../search.html" method="get"> + <i class="fa-solid fa-magnifying-glass"></i> + <input type="search" class="form-control" name="q" id="search-input" placeholder="Search the docs ..." aria-label="Search the docs ..." autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"> + <span class="search-button__kbd-shortcut"><kbd class="kbd-shortcut__modifier">Ctrl</kbd>+<kbd>K</kbd></span> +</form> </div> <div class="toc-item"> |