From 1d351b297c930f9b39bd6125c1e1f0f910f37358 Mon Sep 17 00:00:00 2001 From: Achu Luma Date: Fri, 13 Oct 2023 01:03:04 +0100 Subject: [PATCH] Update katz_centrality missing default alpha value Signed-off-by: Achu Luma --- networkx/algorithms/centrality/katz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networkx/algorithms/centrality/katz.py b/networkx/algorithms/centrality/katz.py index 37bf8d6a1e1..3c18e5aa2b2 100644 --- a/networkx/algorithms/centrality/katz.py +++ b/networkx/algorithms/centrality/katz.py @@ -54,7 +54,7 @@ def katz_centrality( G : graph A NetworkX graph. - alpha : float + alpha : float, optional (default=0.1) Attenuation factor beta : scalar or dictionary, optional (default=1.0)