Closed andrzejnovak closed 1 year ago
@fabriceMUKARAGE, could you do this? It would be something like this:
@property
def T(self) -> Self:
return self.project(*reversed(range(self.ndim)))
Plus a test or two.
@henryiii sure, noted! I am going to work on that.
I was trying to flip x/y axes of a 2d hist and was pointed to #133 after initially trying some guesswork. One of the things I reached for was a
.T
method which incidentally is also mentioned in #133. Is that perhaps enough of a suggestion that this would be a good API shortcut to have?