Skip to content

Commit aa4c792

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ee08f5a commit aa4c792

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/spikeinterface/widgets/unit_waveforms.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,13 +384,14 @@ def plot_matplotlib(self, data_plot, **backend_kwargs):
384384
# plot channels
385385
if dp.plot_channels:
386386
from probeinterface.plotting import plot_probe
387+
387388
probe = dp.sorting_analyzer_or_templates.get_probe()
388-
poly, poly_contour = plot_probe(probe, contacts_colors='w', add_to_axis=False)
389+
poly, poly_contour = plot_probe(probe, contacts_colors="w", add_to_axis=False)
389390
ax.add_collection(poly)
390391

391392
# Apply axis_equal setting
392393
if dp.axis_equal:
393-
ax.set_aspect('equal')
394+
ax.set_aspect("equal")
394395

395396
if dp.same_axis and dp.plot_legend:
396397
if hasattr(self, "legend") and self.legend is not None:

0 commit comments

Comments
 (0)