Skip to content

Commit

Permalink
fix ebars
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Oct 4, 2023
1 parent 3833b4c commit f6b6666
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spikeanalysis/spike_plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ def plot_response_trace(
)
else:
avg_response = np.mean(np.mean(response, axis=1), axis=0)
ebars = np.std(np.mean(response, axis=1), axis=0)
if ebar:
self._plot_one_trace(
current_bins,
Expand Down

0 comments on commit f6b6666

Please sign in to comment.