Skip to content

Commit

Permalink
fix typo for number of spikes
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshKhilawala committed Jun 10, 2024
1 parent 8635f80 commit 56362b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/iaf_neuron_with_current_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
newsim.run(1000.0)

data_v = neuron.get_data().segments[0].filter(name="v")[0]
data_spikes = neuron.get_data().segments[0].spiketrains
data_spikes = neuron.get_data().segments[0].spiketrains[0]

fig_counter += 1
plt.figure(fig_counter)
Expand Down

0 comments on commit 56362b0

Please sign in to comment.