Skip to content

Commit

Permalink
oops again
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Oct 3, 2023
1 parent 9654165 commit fa6190f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeanalysis/spike_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,8 @@ def plot_latencies(self):
lat_by_neuron = lat_by_neuron[~np.isnan(lat_by_neuron)]
shufl_bsl_neuron = shufl_bsl_neuron[~np.isnan(shufl_bsl_neuron)]
fig, ax = plt.subplots(figsize=self.figsize)
ax.hist(stim_lats, bins=bins, color="r")
ax.hist(shuffled_lats, bins=bins, color="k")
ax.hist(lat_by_neuron, bins=bins, color="r")
ax.hist(shufl_bsl_neuron, bins=bins, color="k")
ax.set_xlabel("Time", fontsize="small")
ax.set_ylabel("Counts", fontsize="small")
self._despine(ax)
Expand Down

0 comments on commit fa6190f

Please sign in to comment.