summaryrefslogtreecommitdiff
path: root/networkx/algorithms/communicability_alg.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in the networkx codebase (#6335)Anurag Bhat2023-01-051-2/+2
| | | | | * Fix_Typos * Commit_Suggestions
* Standard imports (#4401)Jarrod Millman2020-12-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * Standardize pytest imports * Standardize numpy/scipy imports * Document import style * Fix * More * Fix matplotlib imports * Revert changes to tests * Motivate import policy Co-authored-by: Ross Barnowski <rossbar@berkeley.edu> * Fix missed imports * Standard np.testing use Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Use matrix multiplication operator (#4390)Jarrod Millman2020-11-251-3/+3
| | | Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Format python in docstrings (#4168)Jarrod Millman2020-08-191-6/+3
| | | | | | | | | | | | | | | | | | | * Format code w/ black * Format docstrings w/ black * Manual cleanup * Tell pytest to ignore planned deprecations * Don't call plt.show during testing * Another known deprecation * DOC: rm duplicate line from docstring example * Minor cleanup Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
* Format w/ blackJarrod Millman2020-07-101-7/+10
|
* Remove unused imports (#3855)Alex Henrie2020-07-061-1/+0
| | | | | | | | | * Remove unused imports * remove more unused import statements found by pyflakes * move import of random outside of networkx.utils Co-authored-by: Dan Schult <dschult@colgate.edu>
* Fix defination of communicability (#3973)Manas Joshi2020-05-281-2/+2
| | | Fixes #3811
* Remove superfluous encoding informationJarrod Millman2019-11-111-1/+0
|
* Remove boiler plate from top of modulesJarrod Millman2019-11-111-9/+1
| | | | | | | | | 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.
* Skip doctests when missing dependenciesJarrod Millman2019-10-211-7/+0
|
* PEP8 fixesJarrod Millman2019-10-181-1/+1
|
* Use pytest for doctestJarrod Millman2019-10-121-11/+4
|
* Changes to convert_matrix and others that depend on np.matrixDan Schult2019-10-121-4/+4
|
* Replacing `Return` to `Returns` in docs for functions (#3301)Moradnejad2019-02-181-2/+2
| | | | | | * Fixed problem in documentation view of this function * Replacing `Return` to `Returns` in function docs
* Fix links (#2663)Jarrod Millman2017-09-111-2/+2
| | | | | | * Fix links * Comply with pep8
* Comply with pep8Jarrod Millman2017-08-171-14/+18
|
* Use arrays instead of matrices in communicability_alg.py.Valentin Lorentz2016-07-301-1/+1
|
* Split centrality/communicability_alg to centrality/subgraph_alg and ↵Michael-E-Rose2016-01-251-0/+180
communicability_alg