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

[Enh] Reuse Elephant function for rasterplot_rates #73

Open
kohlerca opened this issue Oct 27, 2023 · 0 comments
Open

[Enh] Reuse Elephant function for rasterplot_rates #73

kohlerca opened this issue Oct 27, 2023 · 0 comments

Comments

@kohlerca
Copy link
Contributor

Looking into the code for the rasterplot_rates function, the computation of the population histogram uses the matplotlib hist function (lines 465 and 469 of rasterplot.py).

It would be useful to reuse the time_histogram function from Elephant, which provides more options to control the histogram, especially the ability to normalize by either mean or density.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants