Skip to content

Commit

Permalink
Merge pull request #3600 from chrishalcrow/fix-docs-string-ids
Browse files Browse the repository at this point in the history
Convert generated unit_ids in docs to strings
  • Loading branch information
alejoe91 authored Jan 8, 2025
2 parents a64aed9 + e74aa00 commit 0b1bf67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tutorials/widgets/plot_2_sort_gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
# plot_autocorrelograms()
# ~~~~~~~~~~~~~~~~~~~~~~~~

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

##############################################################################
# plot_crosscorrelograms()
# ~~~~~~~~~~~~~~~~~~~~~~~~


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

plt.show()

Expand Down

0 comments on commit 0b1bf67

Please sign in to comment.