Skip to content

Commit

Permalink
Added a new drawing recipe (#535)
Browse files Browse the repository at this point in the history
* added recipe 19

* fix failing test

* Response to review

* Update recipes.ipynb

* Update recipes.ipynb

* Update recipes.ipynb

* Update contributors.rst
  • Loading branch information
nwlandry authored May 2, 2024
1 parent f385ed6 commit 9140f10
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 10 deletions.
121 changes: 119 additions & 2 deletions docs/source/api/recipes/recipes.ipynb

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/source/contributors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ Core team
<a href="https://github.com/nwlandry">@nwlandry</a>
</p>

<p>
<img src="https://github.com/tlarock.png"
width="50" height="50" hspace="5"
style="border-radius: 50%; vertical-align: middle;"/>
<a href="https://github.com/tlarock">@tlarock</a>
</p>

<p>
<img src="https://github.com/thomasrobiglio.png"
width="50" height="50" hspace="5"
Expand Down Expand Up @@ -144,10 +151,3 @@ Contributors
style="border-radius: 50%; vertical-align: middle;"/>
<a href="https://github.com/saad1282">@saad1282</a>
</p>

<p>
<img src="https://github.com/tlarock.png"
width="50" height="50" hspace="5"
style="border-radius: 50%; vertical-align: middle;"/>
<a href="https://github.com/tlarock">@tlarock</a>
</p>
3 changes: 2 additions & 1 deletion tests/algorithms/test_centrality.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,5 @@ def test_katz_centrality(edgelist1, edgelist8):
5: 0.07147345362079142,
6: 0.03614424740207708,
}
assert c == expected_c
for n in c:
assert np.allclose(c[n], expected_c[n])

0 comments on commit 9140f10

Please sign in to comment.