graphicle.data.MaskGroup.__getitem__(key) MaskArray | MaskGroup[MaskGeneric][source]

Subscripting for MaskGroup object.

Parameters:
key

If string, will return the MaskBase object associated with a key of the same name. If list of strings, will return a new MaskGroup with only the keys included in the list. Otherwise will be treated as an array-like slice, returning the MaskGroup whose components each individually have the passed slice applied.


Last update: Jun 27, 2025