Skip to content

Commit 9cc8c2d

Browse files
committed
Fix plot_sorting_summary after #3412 with to_numpy()
1 parent 4da8298 commit 9cc8c2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/spikeinterface/widgets/utils_sortingview.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ def generate_unit_table_view(
137137
if prop_name in sorting_props:
138138
property_values = sorting.get_property(prop_name)
139139
elif prop_name in qm_props:
140-
property_values = qm_data[prop_name].values
140+
property_values = qm_data[prop_name].to_numpy()
141141
elif prop_name in tm_props:
142-
property_values = tm_data[prop_name].values
142+
property_values = tm_data[prop_name].to_numpy()
143143

144144
# Check for NaN values and round floats
145145
val0 = np.array(property_values[0])

0 commit comments

Comments
 (0)