From 16cfc63e0f0cba68683381cdf6c290fc5075c032 Mon Sep 17 00:00:00 2001 From: sjvenditto Date: Thu, 7 Aug 2025 11:15:46 -0400 Subject: [PATCH] Update base_class.py --- pynapple/core/base_class.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynapple/core/base_class.py b/pynapple/core/base_class.py index 303fc5c3a..566c24bfc 100644 --- a/pynapple/core/base_class.py +++ b/pynapple/core/base_class.py @@ -215,7 +215,7 @@ def value_from(self, data, ep=None, mode="closest"): return data._define_instance(time_index=t, time_support=time_support, values=d) - def count(self, bin_size=None, ep=None, time_units="s", dtype=None): + def count(self, bins=None, ep=None, time_units="s", dtype=None): """ Count occurences of events within bin_size or within a set of bins defined as an IntervalSet. You can call this function in multiple ways :