Skip to content

Commit b242d78

Browse files
committed
move sorting to end of args
1 parent bf81f92 commit b242d78

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/spikeinterface/widgets/isi_distribution.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,24 @@ class ISIDistributionWidget(BaseWidget):
1616
----------
1717
sorting_analyzer_or_sorting : SortingAnalyzer | BaseSorting | None = None
1818
The object containing the sorting information for the isi distribution plo
19-
sorting : BaseSorting | None = None
20-
Deprecated argument.
2119
unit_ids : list
2220
List of unit ids
2321
bins_ms : int
2422
Bin size in ms
2523
window_ms : float
2624
Window size in ms
27-
25+
sorting : BaseSorting | None = None
26+
Deprecated argument.
2827
"""
2928

3029
def __init__(
3130
self,
3231
sorting_analyzer_or_sorting: SortingAnalyzer | BaseSorting | None = None,
33-
sorting: BaseSorting | None = None,
3432
unit_ids: list | None = None,
3533
window_ms: float = 100.0,
3634
bin_ms: float = 1.0,
3735
backend: str | None = None,
36+
sorting: BaseSorting | None = None,
3837
**backend_kwargs,
3938
):
4039

0 commit comments

Comments
 (0)