summaryrefslogtreecommitdiff
path: root/networkx/algorithms/graphical.py
Commit message (Collapse)AuthorAgeFilesLines
* Use isort with pre-commit to enforce import guidelines (#5659)Mridul Seth2022-06-021-0/+1
| | | | | * Add isort to pre-commit * Run isort on all python files (except __init__.py ones)
* Fix Sphinx errors (#4817)Jarrod Millman2021-05-191-2/+1
|
* Restructure documentation (#4744)Jarrod Millman2021-05-181-11/+22
| | | | | | | | | | | | | * Move credit to dev guide * Simplify menu * Reclaim empty sidebar space * Simplify release log * Cleanup bibliography * Clean up
* Format w/ blackJarrod Millman2020-07-101-13/+14
|
* Remove superfluous encoding informationJarrod Millman2019-11-111-1/+0
|
* Remove boiler plate from top of modulesJarrod Millman2019-11-111-12/+0
| | | | | | | | | The copyright and author stuff is not necessary, out-of-date, and inconsistent. It takes up visual space and is a pain to police everyone doing the same thing on the top of the module. Git handles authorship in a comprehensive and authoritative way. The LICENSE.txt file applies to all project code.
* Change is_list_of_ints to make_list_of_ints (#3617)Dan Schult2019-10-041-22/+12
| | | | | | | | | | | | * Make is_list_of_ints work with nonlists Idea is to use make_list_of_ints which converts floats to ints * Add tests of nonintegeres to is_<special>graph * Fix error added to exception handling in tests for no numpy. Replaces #3335 Fixes #3322
* Update copyrightJarrod Millman2019-03-301-1/+1
|
* Make is_graphical raise error for invalid input (#3366)Dan Schult2019-03-301-2/+12
| | | | | | | | Allow is_graphcial to work with numpy arrays and lists of floats that have integer values. Also catch ValueError from int function and AssertionError for test_numpy_noninteger_degree_sequence Fixes #3322
* Corrected some variable names in documentation. (#2860)Mads Jensen2018-01-311-1/+1
|
* Update copyrightJarrod Millman2018-01-201-1/+1
|
* Removed unused imports (#2653)James Lamb2017-10-011-1/+0
|
* Update docsJarrod Millman2017-08-181-6/+6
|
* Comply with pep8Jarrod Millman2017-07-251-46/+52
|
* Remove is_valid_degree_sequence deprecated in 2013Jarrod Millman2017-07-251-4/+1
| | | | See b93017c17.
* Update copyrightJarrod Millman2017-07-251-1/+1
|
* Change sphinx config to improve parametersDan Schult2016-03-081-1/+0
| | | | | | | | Now can use parameters ```x, y : nodes```. It used to convert to ```y(x,) : nodes``` That conf.py change caused blank lines to give a warning so removed them. Misc word changes.
* Update docs that should use math modeDan Schult2016-03-071-3/+3
| | | | replace backticks with :math:`backticks`
* Update copyrightsMridul Seth2016-01-011-1/+1
|
* Remove useless semicolonRémy Léone2015-11-081-1/+1
|
* Remove degree_iter(),now degree() returns an integer for single node and ↵Mridul Seth2015-06-271-1/+1
| | | | iterator for else
* Fix copyrightsJGab2015-04-211-1/+1
|
* Update documentation and formatting for SphinxAric Hagberg2013-01-131-41/+61
|
* Change graphicality testing function namesAric Hagberg2013-01-131-9/+8
| | | | Use is_digraphical(), is_pseudographical(), and is_multigraphical().
* Combine basic graphical setup into single function.Aric Hagberg2013-01-131-36/+32
|
* Small doc formatting fixes and updates.Aric Hagberg2013-01-131-14/+23
|
* Change canonical name to is_graphical from is_valid_degree_sequence.Aric Hagberg2013-01-131-5/+8
|
* Whitespace cleanup.Aric Hagberg2013-01-131-30/+30
|
* Add faster tests for graphical sequences.Brian Cloteaux2013-01-131-74/+290
| | | | | Use linear time algorithm. Add testing for directed, multigraphic, and pseudographic sequences.
* Simplify is_valid_degree_sequence_* docs and add example.Aric Hagberg2012-01-061-23/+28
|
* whitespace housekeepingAric Hagberg2012-01-061-35/+29
|
* Allow iterators as input in is_valid_degree_sequenceAric Hagberg2012-01-061-17/+17
|
* Refactor large degree_seq.py into pieces and put non-generator pieces in ↵Aric Hagberg2011-11-031-0/+163
algorithms and utils.