summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* CircleCI: add token for image redirector (#6695)HEADmainStefan van der Walt2023-05-171-0/+1
|
* Add linting to contributor guide. (#6692)Ross Barnowski2023-05-171-0/+14
| | | Add linting step to contributor guide.
* remove survey banner (#6687)Mridul Seth2023-05-131-2/+0
|
* Example of improving test granularity related to #5092 (#5094)Ross Barnowski2023-05-131-23/+36
| | | extract and parametrize watts_strogatz tests.
* Handle weights as `distance=` in testing dispatch (#6671)Erik Welch2023-05-132-1/+5
| | | | | | | | * Handle weights as `distance=` in testing dispatch * fix `test_intersection` This change was suggested here: https://github.com/python-graphblas/graphblas-algorithms/pull/62#issuecomment-1531810715
* Improve test coverage for mst.py (#6540)Alimi Qudirah2023-05-131-0/+37
| | | | | * fixes for 6539 * add more tests to test_mst.py
* codespell: pre-commit, config, typos fixed (#6662)Yaroslav Halchenko2023-05-0314-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | * One ambigous typo * one more ambigous typo * [DATALAD RUNCMD] run codespell throughout === Do not change lines below === { "chain": [], "cmd": "codespell -w", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ For this to work -- it would require configuration files which were abandoned. See https://github.com/networkx/networkx/pull/6662 for more discussion etc. * Manual reversion of perform... "fix"
* added tests to euler.py (#6608)Alimi Qudirah2023-05-031-0/+12
| | | | | | | | | | | | | | * fixes-for-6607 * Update networkx/algorithms/tests/test_euler.py Co-authored-by: Mridul Seth <mail@mriduls.com> * Update euler test --------- Co-authored-by: Mridul Seth <mail@mriduls.com> Co-authored-by: Mridul Seth <git@mriduls.com>
* Remove `topo_order` kwarg from `is_semiconnected` without deprecation. (#6651)Ross Barnowski2023-05-032-9/+18
| | | | | | | | | | | * Remove topo_order kwarg without deprecation. * Add release note about semiconnected removing the topo_order kwarg. * Add to doc_string the method used to find semiconnected --------- Co-authored-by: Dan Schult <dschult@colgate.edu>
* Pin sphinx<7 as temporary fix for doc CI failures (#6680)Ross Barnowski2023-05-021-1/+1
| | | A temporary fix for building the docs.
* Improve test coverage for reaching.py (#6678)Vanshika Mishra2023-05-021-0/+8
|
* try adding circleci artifact secret (#6679)Dan Schult2023-05-021-0/+1
|
* Improve Test Coverage for current_flow_closeness.py (#6677)Vanshika Mishra2023-05-021-0/+6
| | | Improve_test_coverage_cfc.py
* Added docstring examples for nx_pylab.py (#6616)cnfionawu2023-05-021-0/+36
| | | Update nx_pylab.py
* Improve test coverage for neighbor_degree.py (#6589)Alimi Qudirah2023-05-021-0/+4
| | | added tests for neighbor_degree.py
* Added tests to test_correlation.py (#6590)Alimi Qudirah2023-05-021-0/+15
| | | | | * added tests to test_correlation.py * bugfix-for-6588
* Use unpacking operator on dicts to prevent constructing intermediate objects ↵DiamondJoseph2023-05-023-15/+8
| | | | (#6040)
* Adding is_tounament to main namespace (#6498)Alimi Qudirah2023-05-021-0/+1
| | | | | * adding is_tounament to main namespace * bugfix for 5542
* Add Greedy Coloring Example to Gallery (#6647)Vanshika Mishra2023-05-021-0/+35
| | | | | | | | | | | | | | | * plot_greedy_coloring_Example * suggestions incorporated * fix error * fixed error * Minor formatting tweaks. --------- Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Rm unreachable code for validating input (#6675)Ross Barnowski2023-05-011-6/+0
| | | Rm un-hittable validation lines.
* MAINT: minor coverage cleanup. (#6674)Ross Barnowski2023-05-011-3/+0
|
* Adding GitHub Links next to Dheeraj's name in the contributors list (#6670)Dheeraj Ravindranath2023-04-281-1/+1
|
* Allow multiple graphs for `@nx._dispatch` (#6628)Jim Kitchen2023-04-254-41/+103
| | | | | | | | | | | | | * Allow multiple graphs for nx._dispatch A new `graphs` keyword is added. For the case of two graphs named `G` and `H` as the first to arguments in `foo`, the new spelling is @nx._dispatch(graphs="G,H") def foo(G, H, other_arg, **kwargs): ... * Use better default "G" for graphs kwarg * fix
* Fix output of is_chordal for empty graphs (#6563)Navya Agarwal2023-04-252-4/+10
| | | | | * Fix for is_chordal for empty graphs * Handle self loops case
* Added docstrings examples for clique.py (#6576)Alimi Qudirah2023-04-251-0/+24
| | | | | | | | | | | | | | | | | | | | | | | * added docstrings examples for clique.py * Update networkx/algorithms/approximation/clique.py Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * Update networkx/algorithms/approximation/clique.py Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * adding corrections * adding corrections * adding corrections to examples * adding corrections --------- Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Make cycle_basis() deterministic (#6654)Efrem Braun2023-04-213-3/+18
| | | | | | Replace sets with dict keys to make cycle_basis deterministic with respect to node ordering. Co-authored-by: Dan Schult <dschult@colgate.edu>
* Preserve node order in bipartite_layout (#6644)Haoyang Li2023-04-171-3/+3
| | | | | * Keep the original order of the nodes in bipartite_layout * Keep the original order of the nodes in bipartite_layout
* Use the correct namespace for girvan_newman examples (#6643)Mridul Seth2023-04-161-6/+6
|
* Fix links in eigenvector.py and katz_centrality.py (#6640)Vanshika Mishra2023-04-152-8/+8
| | | Fix links in see also section of docs
* Remove Python 3.8 from CI (#6636)Ross Barnowski2023-04-145-9/+9
| | | | | | | | | * Drop Python 3.8 from test workflows. * Bump Pypy version to 3.9 in test workflow. * Bump Python to 3.10 in lint, mypy, randomly workflows. * Bump circleci to Python 3.10.
* Bump pyupgrade minimum Python version to 3.9. (#6634)Ross Barnowski2023-04-141-1/+1
|
* Replacing codecov Python CLI with gh action. (#6635)Ross Barnowski2023-04-132-2/+3
| | | | | | | | | | | | * WIP: Try replacing codecov Python CLI with gh action. * Update .github/workflows/coverage.yml Co-authored-by: Dan Schult <dschult@colgate.edu> --------- Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com> Co-authored-by: Dan Schult <dschult@colgate.edu>
* Add examples to bipartite centrality.py (#6613)Navya Agarwal2023-04-111-0/+21
| | | | | | | | | * Add examples to bipartite centrality.py * Import bipartite module * Use lazy loading for bipartite * Minor Edit
* Add Lowest Common Ancestor example to Gallery (#6542)Navya Agarwal2023-04-101-0/+48
|
* Fix handling of pos node attribute in to_agraph (#6474)Navya Agarwal2023-04-062-0/+19
| | | | Make sure the `"pos"` node attribute is properly formatted for pygraphviz, if present.
* Fix links in laplacian_centrality and laplacian_matrix (#6623)Navya Agarwal2023-04-062-4/+4
| | | Fix links in See Also section
* Update release process (#6622)Jarrod Millman2023-04-051-7/+4
|
* Bump release versionJarrod Millman2023-04-042-1/+3
|
* Designate 3.1 releasenetworkx-3.1Jarrod Millman2023-04-044-17/+131
|
* Prep 3.1 releaseJarrod Millman2023-04-043-22/+67
|
* Draft release notes (#6621)Jarrod Millman2023-04-041-8/+21
|
* Fix typos (#6620)Harri Nieminen2023-04-0429-51/+51
|
* Resolve NXEP4 with justification for not implementing it. (#6617)Ross Barnowski2023-04-041-7/+26
| | | | | | | | | | | | | | | | * Resolve NXEP4 with justification for not implementing it. * Update doc/developer/nxeps/nxep-0004.rst Co-authored-by: Dan Schult <dschult@colgate.edu> * Update nxep-0004.rst The title is long and makes the table of contents look sloppy. I think the shorter name is clear and given the text it shouldn't cause confusion. @rossbar Feel free to remove this commit, if you prefer. --------- Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com> Co-authored-by: Dan Schult <dschult@colgate.edu>
* Fix module docstring format for ismags reference article. (#6611)Ross Barnowski2023-04-032-18/+13
| | | | | | | Improperly formatted Notes/References sections was causing a sphinx parsing error which led to a very poorly formatted html page. Fixing the numpydoc formatting for the module docstring + minor munging of the heading levels was sufficient to fix this.
* Better default alpha value for viz attributes in gexf writer (#6612)Ross Barnowski2023-04-032-1/+11
| | | | | | | | | | | * Add test that fails with current default ('None') * Update default alpha value. Co-authored-by: Dan Schult <dschult@colgate.edu> --------- Co-authored-by: Dan Schult <dschult@colgate.edu>
* Minor docs/test maintenance (#6614)Ross Barnowski2023-04-034-3/+6
| | | | | | | * doc: fix docstring heading, eliminate sphinx error. * doc: change extension of included file to prevent duplicate labels. * tst: add warnings filter for deprecated forest_str.
* Fixed method description in ismags.py (#6600)Navya Agarwal2023-04-021-2/+2
| | | | | * Fix docstr of partition_to_color * Minor edit
* corrections to docstring of `weisfeiler_lehman_subgraph_hashes` (#6598)Aaron Z2023-04-011-7/+12
| | | | | | | | | | | * corrections to docstring of weisfeiler_lehman_subgraph_hashes * Update networkx/algorithms/graph_hashing.py Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> --------- Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Bump release versionJarrod Millman2023-03-301-1/+1
|
* Designate 3.1rc0 releasenetworkx-3.1rc0Jarrod Millman2023-03-301-1/+1
|