Skip to content

Fix graph name attribute for complete_bipartite_graph - #7399

Merged
dschult merged 2 commits into
networkx:mainfrom
elshorbagyx:fix-complete-bipartite-repr
Apr 11, 2024
Merged

dschult merged 2 commits into
networkx:mainfrom
elshorbagyx:fix-complete-bipartite-repr

Conversation

@elshorbagyx

@elshorbagyx elshorbagyx commented Apr 9, 2024 •

Copy link
Copy Markdown
Contributor

Fixes #7396. Also, I added a testcase :)

@rossbar rossbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I took the liberty of updating the test to cover a wider selection of input combinations to the nodes_or_number decorator, just to ensure that the behavior is consistent across all of them.

Other than that, LGTM - thanks @mohamedrezk122 !

@dschult dschult left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@dschult
dschult merged commit 489a9d5 into networkx:main Apr 11, 2024
@jarrodmillman jarrodmillman added this to the 3.4 milestone Apr 11, 2024
cvanelteren pushed a commit to cvanelteren/networkx that referenced this pull request Apr 22, 2024
* Fix complete_bipartite_graph str

* Parametrize test.

---------

Co-authored-by: Ross Barnowski <[email protected]>
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.

Graph name attribute for complete_bipartite_graph verbose for non-integer intputs

4 participants