Skip to content

DOC: Fix typo in the code snippet provided in the docstring of nx_pydot.pydot_layout(). - #7572

Merged
Schefflera-Arboricola merged 1 commit into
networkx:mainfrom
MarcCote:patch-1
Jul 25, 2024
Merged

Schefflera-Arboricola merged 1 commit into
networkx:mainfrom
MarcCote:patch-1

Conversation

@MarcCote

Copy link
Copy Markdown
Contributor

Hi. Tiny PR to fix in the docstring of nx_pydot.pydot_layout().

Given Pydot recent breaking changes wrt to node names (pydot/pydot#363), the provided code snippet to convert node name to integers was super useful. Thanks.

Fix typo in the code snippet provided in the docstring of nx_pydot.pydot_layout().

@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.

Nice catch, thanks @MarcCote !

@Schefflera-Arboricola Schefflera-Arboricola 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 @MarcCote and @rossbar :)

@Schefflera-Arboricola
Schefflera-Arboricola merged commit 7d195ae into networkx:main Jul 25, 2024
@MarcCote
MarcCote deleted the patch-1 branch July 25, 2024 12:37
@dschult dschult added this to the 3.4 milestone Aug 28, 2024
rossbar pushed a commit to Peiffap/networkx that referenced this pull request Sep 6, 2024
…ot.pydot_layout(). (networkx#7572)

Update nx_pydot.py

Fix typo in the code snippet provided in the docstring of nx_pydot.pydot_layout().
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.

5 participants