Skip to content

Commit 81e53ab

Browse files
committed
Fix plot_sorting_summary after #3412 with to_numpy() 2
1 parent 9cc8c2d commit 81e53ab

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
@@ -106,9 +106,9 @@ def generate_unit_table_view(
106106
if prop_name in sorting_props:
107107
property_values = sorting.get_property(prop_name)
108108
elif prop_name in qm_props:
109-
property_values = qm_data[prop_name].values
109+
property_values = qm_data[prop_name].to_numpy()
110110
elif prop_name in tm_props:
111-
property_values = tm_data[prop_name].values
111+
property_values = tm_data[prop_name].to_numpy()
112112
else:
113113
warn(f"Property '{prop_name}' not found in sorting, quality_metrics, or template_metrics")
114114
continue

0 commit comments

Comments
 (0)