Skip to content

Add missing weight and gravity attribute to forceatlas2_layout docstring - #7915

Merged
Schefflera-Arboricola merged 5 commits into
networkx:mainfrom
nv-rliu:add-weight-docstring
Mar 19, 2025
Merged

Schefflera-Arboricola merged 5 commits into
networkx:mainfrom
nv-rliu:add-weight-docstring

Conversation

@nv-rliu

@nv-rliu nv-rliu commented Mar 18, 2025 •

Copy link
Copy Markdown
Contributor

Closes #7912

Proposed Change

Small PR that adds the missing docstring description for the weight and gravity arg. Followed wording convention from similar functions.

@nv-rliu nv-rliu changed the title Add missing weight attribute to forceatlas2_layout docstring Add missing weight and gravity attribute to forceatlas2_layout docstring Mar 18, 2025

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

LGTM, thanks @nv-rliu !

Comment thread networkx/drawing/layout.py Resolved
Comment thread networkx/drawing/layout.py Resolved
nv-rliu and others added 2 commits March 18, 2025 22:39
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.

Networkx ForceAtlas2 No Docstring Entry for weight

4 participants