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

Remove automatic assignment of G.name from many generators #2557

Merged
merged 2 commits into from
Jul 27, 2017

Conversation

dschult
Copy link
Member

@dschult dschult commented Jul 27, 2017

I left the names for atlas and small graphs as it seemed helpful in determining which graph was which. The other cases were sometimes incorrect or with incorrect parameter values (basically G.name doesn't always get updated when the graph gets updated). So we'll put the user in charge of keeping it up-to-date.

Addresses #1906

I left them for Atlas.py and small.py as the seemed to be useful for
telling which graph is which when creating many.
Fixes networkx#1906
@dschult dschult added this to the networkx-2.0 milestone Jul 27, 2017
@dschult dschult merged commit 29faeff into networkx:master Jul 27, 2017
@dschult dschult deleted the noname branch July 27, 2017 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant