You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We always explicitly requested baseline to be a tuple as per the API docs, so I suppose this change you mentioned is just to ensure that the output (in the .baseline attribute) equals the input provided by the user. I think it'd be good to support array-like of length 2 as input and cast to a tuple internally
Activity
hoechenberger commentedon May 29, 2023
We always explicitly requested
baselineto be a tuple as per the API docs, so I suppose this change you mentioned is just to ensure that the output (in the.baselineattribute) equals the input provided by the user. I think it'd be good to supportarray-like of length 2as input and cast to a tuple internallycbrnr commentedon May 29, 2023
Yes, I'd also prefer list-like with two elements if there is no strong reason to require a tuple. If everyone agrees I can submit a PR.
agramfort commentedon May 29, 2023