Skip to content

Commit

Permalink
network_pf(): docstring conforms now to numpydoc format [skip travis]
Browse files Browse the repository at this point in the history
  • Loading branch information
fneum authored and coroa committed Jul 4, 2019
1 parent 6c1bb17 commit 01311e8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pypsa/pf.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,10 @@ def network_pf(network, snapshots=None, skip_pre=False, x_tol=1e-6, use_seed=Fal
Returns
-------
Dictionary with keys 'n_iter', 'converged', 'error' and dataframe
values indicating number of iterations, convergence status, and
iteration error for each snapshot (rows) and sub_network (columns)
dict
Dictionary with keys 'n_iter', 'converged', 'error' and dataframe
values indicating number of iterations, convergence status, and
iteration error for each snapshot (rows) and sub_network (columns)
"""

return _network_prepare_and_run_pf(network, snapshots, skip_pre, linear=False, x_tol=x_tol, use_seed=use_seed)
Expand Down

0 comments on commit 01311e8

Please sign in to comment.