Skip to content

Commit

Permalink
add keywords and fix order of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Oct 25, 2023
1 parent 332ee1f commit cb2da6c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/spikeinterface/widgets/peak_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ def animate_func(i):
i0, i1 = np.searchsorted(peaks["sample_index"], [bin_size * i, bin_size * (i + 1)])
local_peaks = peaks[i0:i1]
artists = self._plot_one_bin(
rec,
probe,
local_peaks,
dp.with_channel_ids,
dp.bin_duration_s,
dp.with_contact_color,
dp.with_interpolated_map,
rec=rec,
probe=probe,
peaks=local_peaks,
duration=dp.bin_duration_s,
with_channel_ids=dp.with_channel_ids,
with_contact_color=dp.with_contact_color,
with_interpolated_map=dp.with_interpolated_map,
)
return artists

Expand Down

0 comments on commit cb2da6c

Please sign in to comment.