Skip to content

Commit e44440e

Browse files
Merge pull request #987 from selmanozleyen/docs/spatial-autocorr
Docs: Edit the argument documentation of `n_jobs` of the `parallelize` function
2 parents bdd9899 + 7991dbc commit e44440e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/squidpy/_docs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ def decorator2(obj: Any) -> Any:
107107
"""
108108
_parallelize = """\
109109
n_jobs
110-
Number of parallel jobs.
110+
Number of parallel jobs to use. If the function uses numba compiled functions, numba may
111+
use cores depending on the number of threads set in the environment regardless of this argument.
111112
backend
112113
Parallelization backend to use. See :class:`joblib.Parallel` for available options.
113114
show_progress_bar

src/squidpy/_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ def parallelize(
8888
collection
8989
Sequence of items to split into chunks.
9090
n_jobs
91-
Number of parallel jobs.
91+
Number of parallel jobs to use. If the function uses numba compiled functions, numba may
92+
use cores depending on the number of threads set in the environment regardless of this argument.
9293
n_split
9394
Split ``collection`` into ``n_split`` chunks.
9495
If <= 0, ``collection`` is assumed to be already split into chunks.

0 commit comments

Comments
 (0)