File tree Expand file tree Collapse file tree 6 files changed +12
-8
lines changed Expand file tree Collapse file tree 6 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 38
38
run : python -m pip install --no-deps -e .
39
39
40
40
- name : Build docs
41
- run : sphinx-build -n -j auto -b html -d build/doctrees doc build/html
41
+ run : sphinx-build -W - n -j auto -b html -d build/doctrees doc build/html
42
42
43
43
- uses : actions/upload-artifact@v4
44
44
with :
Original file line number Diff line number Diff line change @@ -16,4 +16,5 @@ python:
16
16
sphinx :
17
17
builder : html
18
18
configuration : doc/conf.py
19
+ # This is deliberately laxer than the setting in CI
19
20
fail_on_warning : false
Original file line number Diff line number Diff line change 297
297
"scipy" : ("https://docs.scipy.org/doc/scipy/reference/" , None ),
298
298
}
299
299
300
+ # Configuration for sphinx-autodoc
301
+ autodoc_typehints = "none"
302
+
300
303
# Hack around intersphinx issue caused by :show-inheritance:
301
304
import dask .array # isort:skip # noqa: E402
302
305
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def sobol(
69
69
`Stephen Joe and Frances Y. Kuo <https://web.maths.unsw.edu.au/~fkuo/sobol/>`_,
70
70
using directions from the file ``new-joe-kuo-6.21201`` linked above.
71
71
72
- :param size:
72
+ :param int | tuple[int, int] size:
73
73
number of samples (cannot be greater than :math:`2^{32}`) to extract
74
74
from a single dimension, or tuple (samples, dimensions).
75
75
To guarantee uniform distribution, the number of samples should
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def gaussian_copula(
53
53
>>> y = numpy.random.standard_normal(size=(samples, cov.shape[0]))
54
54
>>> p = (l @ y.T).T
55
55
56
- :param ArrayLike cov:
56
+ :param cov:
57
57
covariance matrix, a.k.a. correlation matrix. It must be a
58
58
Hermitian, positive-definite matrix in any square array-like format.
59
59
The width of cov determines the number of dimensions of the output.
@@ -151,12 +151,12 @@ def t_copula(
151
151
>>> u = scipy.stats.t.cdf(z, df=df)
152
152
>>> t = scipy.stats.norm.ppf(u)
153
153
154
- :param ArrayLike cov:
154
+ :param cov:
155
155
covariance matrix, a.k.a. correlation matrix. It must be a
156
156
Hermitian, positive-definite matrix in any square array-like format.
157
157
The width of cov determines the number of dimensions of the output.
158
158
159
- :param ArrayLike df:
159
+ :param df:
160
160
Number of degrees of freedom. Can be either a scalar int for
161
161
Student T Copula, or a one-dimensional NumPy array or array-like with
162
162
one point per dimension for IT Copula.
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ def tail_dependence(
19
19
1D array-like or Dask array containing samples from a
20
20
uniform (0, 1) distribution.
21
21
:param y:
22
- other array to compare against
22
+ other 1D array-like or Dask array to compare against
23
23
:param q:
24
- quantile(s) (0 < q < 1).
24
+ quantile(s) (` 0 < q < 1` ).
25
25
Either a scalar or a ND array-like or Dask array.
26
26
:returns:
27
- Array of the same shape and type as q , containing:
27
+ Array of the same shape and type as `q` , containing:
28
28
29
29
.. math::
30
30
You can’t perform that action at this time.
0 commit comments