Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/nestml_benchmark' into nestml_be…
Browse files Browse the repository at this point in the history
…nchmark
  • Loading branch information
pnbabu committed Jul 16, 2024
2 parents 4302bf2 + b0e8546 commit 8a5aae5
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 8a5aae5

Please sign in to comment.