diff --git a/tutorials/recipes/recipes.ipynb b/tutorials/recipes/recipes.ipynb index 6ddea330..08f0e82a 100644 --- a/tutorials/recipes/recipes.ipynb +++ b/tutorials/recipes/recipes.ipynb @@ -1096,7 +1096,10 @@ "print(\"We can also remove isolated nodes, by additionally using the cleanup method.\")\n", "cutH2 = cutH.cleanup(isolates=False, singletons=True, multiedges=True, relabel=False, in_place=False)\n", "print(\n", - " f\"With isolated nodes, the hypergraph has {cutH.num_nodes} nodes, and without, the hypergraph has {cutH2.num_nodes} nodes.\"\n", + " f\"With isolated nodes, the hypergraph has {cutH.num_nodes} nodes.\"\n", + ")\n", + "print(\n", + " f\"Without isolated nodes, the hypergraph has {cutH2.num_nodes} nodes.\"\n", ")" ] }