Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 6, 2023
1 parent c4a7609 commit 3ac5808
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/spikeinterface/widgets/tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ def test_amplitudes(self):
unit_ids = self.we_dense.unit_ids[:4]
sw.plot_amplitudes(self.we_dense, unit_ids=unit_ids, backend=backend, **self.backend_kwargs[backend])
sw.plot_amplitudes(
self.we_dense, unit_ids=unit_ids, plot_histograms=True, backend=backend, **self.backend_kwargs[backend]
self.we_dense,
unit_ids=unit_ids,
plot_histograms=True,
backend=backend,
**self.backend_kwargs[backend],
)
sw.plot_amplitudes(
self.we_sparse,
Expand All @@ -264,7 +268,9 @@ def test_unit_locations(self):
possible_backends = list(sw.UnitLocationsWidget.get_possible_backends())
for backend in possible_backends:
if backend not in self.skip_backends:
sw.plot_unit_locations(self.we_dense, with_channel_ids=True, backend=backend, **self.backend_kwargs[backend])
sw.plot_unit_locations(
self.we_dense, with_channel_ids=True, backend=backend, **self.backend_kwargs[backend]
)
sw.plot_unit_locations(
self.we_sparse, with_channel_ids=True, backend=backend, **self.backend_kwargs[backend]
)
Expand All @@ -273,7 +279,9 @@ def test_spike_locations(self):
possible_backends = list(sw.SpikeLocationsWidget.get_possible_backends())
for backend in possible_backends:
if backend not in self.skip_backends:
sw.plot_spike_locations(self.we_dense, with_channel_ids=True, backend=backend, **self.backend_kwargs[backend])
sw.plot_spike_locations(
self.we_dense, with_channel_ids=True, backend=backend, **self.backend_kwargs[backend]
)
sw.plot_spike_locations(
self.we_sparse, with_channel_ids=True, backend=backend, **self.backend_kwargs[backend]
)
Expand Down

0 comments on commit 3ac5808

Please sign in to comment.