Skip to content

Commit

Permalink
Run pre-commit on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
joeloskarsson committed Sep 4, 2024
1 parent 4039ccc commit 5705945
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docs/background.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@
"source": [
"import matplotlib.pyplot as plt\n",
"\n",
"graph = wmg.create.archetype.create_keisler_graph(xy_grid=xy_grid, grid_refinement_factor=2)\n",
"graph = wmg.create.archetype.create_keisler_graph(\n",
" xy_grid=xy_grid, grid_refinement_factor=2\n",
")\n",
"graph_components = wmg.split_graph_by_edge_attribute(graph=graph, attr=\"component\")\n",
"\n",
"fig, axes = plt.subplots(nrows=1, ncols=3, figsize=(16, 5))\n",
Expand Down
4 changes: 3 additions & 1 deletion docs/creating_the_graph.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,9 @@
"graph = wmg.create.create_all_graph_components(\n",
" m2m_connectivity=\"flat_multiscale\",\n",
" xy=xy,\n",
" m2m_connectivity_kwargs=dict(grid_refinement_factor=2, level_refinement_factor=3, max_num_levels=None),\n",
" m2m_connectivity_kwargs=dict(\n",
" grid_refinement_factor=2, level_refinement_factor=3, max_num_levels=None\n",
" ),\n",
" g2m_connectivity=\"nearest_neighbour\",\n",
" m2g_connectivity=\"nearest_neighbour\",\n",
")\n",
Expand Down

0 comments on commit 5705945

Please sign in to comment.