Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Add example to generic_bfs_edges to demonstrate the neighbors param #7072

Merged
merged 2 commits into from Oct 31, 2023

Conversation

rossbar
Copy link
Contributor

@rossbar rossbar commented Oct 30, 2023

Updates the generic_bfs_edges docstring examples to better demonstrate the parameters.

Two main changes:
 * Ensure that  is being called in its docstring
   examples, not bfs_edges
 * Add at least one example demonstrating the generic neighbors
   param.
Copy link
Member

@dschult dschult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jarrodmillman jarrodmillman merged commit f193b00 into networkx:main Oct 31, 2023
37 checks passed
@jarrodmillman jarrodmillman added this to the 3.3 milestone Oct 31, 2023
Alex-Markham pushed a commit to Alex-Markham/networkx that referenced this pull request Oct 31, 2023
…param (networkx#7072)

* DOC: Add examples to generic_bfs_edges docstring.

Two main changes:
 * Ensure that  is being called in its docstring
   examples, not bfs_edges
 * Add at least one example demonstrating the generic neighbors
   param.

* Simpler odds first example.
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
…param (networkx#7072)

* DOC: Add examples to generic_bfs_edges docstring.

Two main changes:
 * Ensure that  is being called in its docstring
   examples, not bfs_edges
 * Add at least one example demonstrating the generic neighbors
   param.

* Simpler odds first example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants