Skip to content

Commit e74aa00

Browse files
committed
string-ify unit_ids in plot_2_sort_gallery
1 parent a64aed9 commit e74aa00

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/tutorials/widgets/plot_2_sort_gallery.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
# plot_autocorrelograms()
3232
# ~~~~~~~~~~~~~~~~~~~~~~~~
3333

34-
w_ach = sw.plot_autocorrelograms(sorting, window_ms=150.0, bin_ms=5.0, unit_ids=[1, 2, 5])
34+
w_ach = sw.plot_autocorrelograms(sorting, window_ms=150.0, bin_ms=5.0, unit_ids=['1', '2', '5'])
3535

3636
##############################################################################
3737
# plot_crosscorrelograms()
3838
# ~~~~~~~~~~~~~~~~~~~~~~~~
3939

4040

41-
w_cch = sw.plot_crosscorrelograms(sorting, window_ms=150.0, bin_ms=5.0, unit_ids=[1, 2, 5])
41+
w_cch = sw.plot_crosscorrelograms(sorting, window_ms=150.0, bin_ms=5.0, unit_ids=['1', '2', '5'])
4242

4343
plt.show()
4444

0 commit comments

Comments
 (0)