Skip to content

Commit

Permalink
fix isi plotting script
Browse files Browse the repository at this point in the history
  • Loading branch information
C.A.P. Linssen committed Jul 16, 2024
1 parent 6b94665 commit b0e8546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/benchmark/plot_isi_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def plot_isi_distributions(neuron_models, data):
plt.figure(figsize=(10, 6))

for neuron_model in neuron_models:
plt.bar(data["bin_centers"], data[neuron_model]["counts_std"], data["bin_centers"][1] - data["bin_centers"][0], bottom=data[neuron_model]["counts_mean"] - data[neuron_model]["counts_std"] / 2, alpha=.5)
plt.bar(data["bin_centers"], 2 * data[neuron_model]["counts_std"], data["bin_centers"][1] - data["bin_centers"][0], bottom=data[neuron_model]["counts_mean"] - data[neuron_model]["counts_std"], alpha=.5)
plt.step(data["bin_edges"][:-1], data[neuron_model]["counts_mean"], label=neuron_model, linewidth=2, alpha=.5, where="post")
#plt.errorbar(data["bin_centers"], data[neuron_model]["counts_mean"], yerr=data[neuron_model]["counts_std"], fmt='o', color='black', capsize=5)

Expand Down

0 comments on commit b0e8546

Please sign in to comment.