Skip to content

Commit

Permalink
docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziaeemehr committed Aug 2, 2024
1 parent a84d184 commit 8ee17a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions netsci/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,15 @@ def load_sample_graph(name, verbose=True):
Parameters
--------------
name (str):
name: str
The name of the graph. Get names from `netsci.utils.show_sample_graphs()`.
verbose: bool, optional
If True, print information about the loaded graph. Default is True.
Returns
-----------
value: networkx.Graph
The loaded graph.
Loaded graph.
"""

path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down Expand Up @@ -101,7 +103,7 @@ def generate_power_law_dist_bounded(N:int, a:float, xmin:float, xmax:float):
parameters :
N: int
number of samples in powerlaw distribution (pwd).
e:
a:
exponent of the pwd.
xmin:
min value in pwd.
Expand Down

0 comments on commit 8ee17a4

Please sign in to comment.