-
Notifications
You must be signed in to change notification settings - Fork 6
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
hsplit, vsplit inconsistent with numpy? #29
Comments
Yes, it's different. I want to make it more visually intuitive for the API name at first, but it looks like Thanks for the suggestions, I think it's a good idea to divide the current |
What would the difference between To clarify, previously I was suggesting either
I think |
The signature for
|
Description
Hey! While going over scverse/scanpy-tutorials#97 I noticed a couple things and thought I would follow them up here.
Marsilea's definition of hsplit and vsplit seem inconsistent with what I'd expect coming from
numpy
. They seem to actually act along opposite axesExample
Suggestion
Personally, I think the numpy versions make more sense. However, I also mess this up frequently. Since Marsilea only needs to deal with two dimensional grids I would suggest moving to:
group_rows
/group_columns
, since this is quite like a group by operation without the aggregatesplit_rows
andsplit_columns
(a bit likeComplexHeatmap
)The text was updated successfully, but these errors were encountered: