Skip to content

Commit

Permalink
changed formatting in the recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrobiglio committed Sep 12, 2024
1 parent 9417727 commit a3621d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tutorials/recipes/recipes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
")"
]
}
Expand Down

0 comments on commit a3621d5

Please sign in to comment.