diff --git a/docs/source/examples/Exploring Graphs.ipynb b/docs/source/examples/Exploring Graphs.ipynb index fdfcdd6cc3..09ea966b17 100644 --- a/docs/source/examples/Exploring Graphs.ipynb +++ b/docs/source/examples/Exploring Graphs.ipynb @@ -74,21 +74,14 @@ "metadata": {}, "outputs": [], "source": [ - "interact(plot_random_graph, n=(2,30), m=(1,10), k=(1,10), p=(0.0, 1.0, 0.001),\n", - " generator={\n", - " 'lobster': random_lobster,\n", - " 'power law': powerlaw_cluster,\n", - " 'Newman-Watts-Strogatz': newman_watts_strogatz,\n", - " u'Erdős-Rényi': erdos_renyi,\n", - " });" + "interact(plot_random_graph, n=(2,30), m=(1,10), k=(1,10), p=(0.0, 0.99, 0.001),\n", + " generator=[\n", + " ('lobster', random_lobster),\n", + " ('power law', powerlaw_cluster),\n", + " ('Newman-Watts-Strogatz', newman_watts_strogatz),\n", + " (u'Erdős-Rényi', erdos_renyi),\n", + " ]);" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { @@ -107,7 +100,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.4" + "version": "3.9.1" } }, "nbformat": 4,