Hope to add multi-dimensional slicing function for VGroup like Numpy.Array #2916
Labels
new feature
Enhancement specifically adding a new feature (feature request should be used for issues instead)
Description of proposed feature
A slice function like Numpy.Array,for example:
a = VGroup(Vgroup(..), ...) # 2 dim vgroup
a[1:4, 2:4] # slice
How can the new feature be used?
Slice function will make great sense for 2 dim mobject vgroup,if 2 dim Square vgroup represents a image, I want to get a part of image(that is a patch),but there is no simple method to impIement it, I have tried many times to overwrite Vgroup's method getitem(succeed to Group),but there is bug, which will affect other functions.
Additional comments
The text was updated successfully, but these errors were encountered: