Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix yticks in plot_spikes #474

Merged
merged 1 commit into from
Apr 15, 2021
Merged

fix yticks in plot_spikes #474

merged 1 commit into from
Apr 15, 2021

Conversation

petermarathas
Copy link
Contributor

This adds two y axis labels to the scatter plots in plot_spikes, corresponding to the beginning and end of the n_neuron range. It should fix an issue uncovered in #467 that plot_spikeswas not showing spikes for intermediate layers. The issue was that the y axis would have a small range around the spikes of the initial data entry, and this range would not cover the full span of possible neurons.

Before

Screen Shot 2021-04-14 at 12 02 06 AM

After

Screen Shot 2021-04-14 at 12 01 31 AM

@Hananel-Hazan Hananel-Hazan merged commit d3eca0d into BindsNET:master Apr 15, 2021
@Hananel-Hazan
Copy link
Collaborator

Thanks @petermarathas

@petermarathas petermarathas deleted the fix_plot_spike_ylabels branch April 16, 2021 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants