Skip to content

Commit 3f14e1c

Browse files
author
Paul Kienzle
committed
Nicer markup for parameters/returns in Fibonacci docs
1 parent 677ba10 commit 3f14e1c

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

sasmodels/special/fibonacci.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ def fibonacci_sphere(npoints_fibonacci: int):
1919
Generates npoints quasi-uniformly distributed on the unit sphere
2020
in Cartesian coordinates (x,y,z) and their associated weights.
2121
22-
Parameters
23-
----------
22+
**Parameters**
2423
2524
npoints : int
2625
Number of points to generate.
2726
28-
Returns
29-
-------
27+
**Returns**
3028
3129
points : ndarray, shape (npoints, 3)
3230
Cartesian coordinates of the points on the unit sphere.
@@ -50,8 +48,7 @@ def plot_fibonacci_sphere(npoints_fibonacci=500, figsize=(7, 7)):
5048
"""
5149
3D representation of Fibonacci points on the unit sphere.
5250
53-
Parameters
54-
----------
51+
**Parameters**
5552
5653
npoints : int
5754
Number of points to generate and display.

0 commit comments

Comments
 (0)