scanpy._settings.ScanpyConfig.n_jobs

property ScanpyConfig.n_jobs: int

Default number of jobs/ CPUs to use for parallel computing.

Set to -1 in order to use all available cores. Not all algorithms support special behavior for numbers < -1, so make sure to leave this setting as >= -1.