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

[MRG] Better connection plots #4

Merged
merged 5 commits into from
May 10, 2016
Merged

[MRG] Better connection plots #4

merged 5 commits into from
May 10, 2016

Conversation

mstimberg
Copy link
Member

Following our discussion in #3, I added a new plot_type argument to plot_synapses which can be image, scatter, or hexbin, creating the respective plot. plot_synapses will default to scatter (which I think is the most universally applicable), but brian_plot will chose a plot type based on the following heuristic:

  • image if there are less than 1000 source and less than 1000 target neurons
  • otherwise: scatter if there are less than 10000 synapses in total
  • otherwise: hexbin

I think this should give something somewhat useful in all cases , we can always tweak the details in the future. If that's fine with you, then I'll start preparing the packaging so that we can do the glorious 0.1 release :-)

Closes #3

@thesamovar
Copy link
Member

Yep, go for it!

@mstimberg mstimberg merged commit 1e6d6e4 into master May 10, 2016
@mstimberg mstimberg deleted the better_connection_plots branch May 10, 2016 15:33
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.

None yet

2 participants