diff options
Diffstat (limited to 'auto_examples/graph/plot_words.html')
-rw-r--r-- | auto_examples/graph/plot_words.html | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/auto_examples/graph/plot_words.html b/auto_examples/graph/plot_words.html index d04e7f34..dfe309e8 100644 --- a/auto_examples/graph/plot_words.html +++ b/auto_examples/graph/plot_words.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>Words/Ladder Graph — NetworkX 3.0rc2.dev0 documentation</title> + <title>Words/Ladder Graph — NetworkX 3.1rc1.dev0 documentation</title> @@ -47,14 +47,20 @@ <script>DOCUMENTATION_OPTIONS.pagename = 'auto_examples/graph/plot_words';</script> <link rel="canonical" href="https://networkx.org/documentation/stable/auto_examples/graph/plot_words.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="Algorithms" href="../algorithms/index.html" /> <link rel="prev" title="Triads" href="plot_triad_types.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"> @@ -601,7 +613,7 @@ None <span class="nb">print</span><span class="p">(</span><span class="n">G</span><span class="p">)</span> <span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">"</span><span class="si">{</span><span class="n">nx</span><span class="o">.</span><span class="n">number_connected_components</span><span class="p">(</span><span class="n">G</span><span class="p">)</span><span class="si">}</span><span class="s2"> connected components"</span><span class="p">)</span> -<span class="k">for</span> <span class="p">(</span><a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">source</span></a><span class="p">,</span> <a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">target</span></a><span class="p">)</span> <span class="ow">in</span> <span class="p">[(</span><span class="s2">"chaos"</span><span class="p">,</span> <span class="s2">"order"</span><span class="p">),</span> <span class="p">(</span><span class="s2">"nodes"</span><span class="p">,</span> <span class="s2">"graph"</span><span class="p">),</span> <span class="p">(</span><span class="s2">"pound"</span><span class="p">,</span> <span class="s2">"marks"</span><span class="p">)]:</span> +<span class="k">for</span> <a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">source</span></a><span class="p">,</span> <a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">target</span></a> <span class="ow">in</span> <span class="p">[(</span><span class="s2">"chaos"</span><span class="p">,</span> <span class="s2">"order"</span><span class="p">),</span> <span class="p">(</span><span class="s2">"nodes"</span><span class="p">,</span> <span class="s2">"graph"</span><span class="p">),</span> <span class="p">(</span><span class="s2">"pound"</span><span class="p">,</span> <span class="s2">"marks"</span><span class="p">)]:</span> <span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">"Shortest path between </span><span class="si">{</span><a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">source</span></a><span class="si">}</span><span class="s2"> and </span><span class="si">{</span><a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">target</span></a><span class="si">}</span><span class="s2"> is"</span><span class="p">)</span> <span class="k">try</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">shortest_path</span></a> <span class="o">=</span> <span class="n">nx</span><span class="o">.</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">shortest_path</span></a><span class="p">(</span><span class="n">G</span><span class="p">,</span> <a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">source</span></a><span class="p">,</span> <a href="https://docs.python.org/3/library/stdtypes.html#str" title="builtins.str" class="sphx-glr-backref-module-builtins sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">target</span></a><span class="p">)</span> @@ -624,7 +636,7 @@ None <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.374 seconds)</p> +<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 0.535 seconds)</p> <div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-graph-plot-words-py"> <div class="sphx-glr-download sphx-glr-download-python docutils container"> <p><a class="reference download internal" download="" href="../../_downloads/e6a489a8b2deb49ed237fac38a28f429/plot_words.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_words.py</span></code></a></p> @@ -649,11 +661,11 @@ None <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"> |