Skip to content

Commit

Permalink
Merge branch 'fix-sv-properties' of github.com:alejoe91/spikeinterfac…
Browse files Browse the repository at this point in the history
…e into fix-sv-properties
  • Loading branch information
alejoe91 committed Feb 21, 2025
2 parents 33611b0 + 25fd853 commit 38bef94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/spikeinterface/widgets/crosscorrelograms.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ def plot_matplotlib(self, data_plot, **backend_kwargs):
color = "k"
ax.bar(x=bins[:-1], height=ccg, width=bin_width, color=color, align="edge")

if i < len(self.axes) - 1:
self.axes[i, j].set_xticks([], [])
plt.tight_layout()

for i, unit_id in enumerate(unit_ids):
self.axes[0, i].set_title(str(unit_id))
self.axes[-1, i].set_xlabel("CCG (ms)")
Expand Down

0 comments on commit 38bef94

Please sign in to comment.