Showing 1 of 1 files from the diff.
Newly tracked file
joblib/parallel.py changed.

@@ -146,10 +146,10 @@
Loading
146 146
    the workload to a cluster of nodes. To use the 'ray' joblib backend add
147 147
    the following lines::
148 148
149 -
     >>> from ray.util.joblib import register_ray # doctest: +SKIP
150 -
     >>> register_ray() # doctest: +SKIP
151 -
     >>> with parallel_backend("ray"): # doctest: +SKIP
152 -
     ...     print(Parallel()(delayed(neg)(i + 1) for i in range(5))) # doctest: +SKIP
149 +
     >>> from ray.util.joblib import register_ray  # doctest: +SKIP
150 +
     >>> register_ray()  # doctest: +SKIP
151 +
     >>> with parallel_backend("ray"):  # doctest: +SKIP
152 +
     ...     print(Parallel()(delayed(neg)(i + 1) for i in range(5)))  # doctest: +SKIP
153 153
     [-1, -2, -3, -4, -5]
154 154
155 155
    Alternatively the backend can be passed directly as an instance.
Files Coverage
joblib 94.28%
Project Totals (47 files) 94.28%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading