Skip to content

Commit 93fd86a

Browse files
committed
oups
1 parent adf5d17 commit 93fd86a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/spikeinterface/benchmark/benchmark_matching.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from spikeinterface.widgets import (
99
plot_agreement_matrix,
1010
plot_comparison_collision_by_similarity,
11-
plot_performance_losses,
1211
)
1312

1413
import numpy as np
@@ -147,8 +146,11 @@ def plot_unit_counts(self, case_keys=None, **kwargs):
147146
return plot_unit_counts(self, case_keys, **kwargs)
148147

149148
def plot_unit_losses(self, *args, **kwargs):
149+
from .benchmark_plot_tools import plot_performance_losses
150+
150151
warnings.warn("plot_unit_losses() is now plot_performance_losses()")
151152
return plot_performance_losses(self, *args, **kwargs)
152153

153154
def plot_performance_losses(self, *args, **kwargs):
155+
from .benchmark_plot_tools import plot_performance_losses
154156
return plot_performance_losses(self, *args, **kwargs)

0 commit comments

Comments
 (0)