Module Expr Str ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad AugAssignMult AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIs NameLoad NameLoad decorator_list If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Yield NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults SubscriptLoad AttributeLoad NameLoad attr Index Num Num NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr ListLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad AugAssignMult AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad keyword Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Return For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareIn NameLoad ListLoad Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Yield NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return BinOpBitAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpBitXor AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return UnaryOpInvert AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore NameLoad body For NameStore AttributeLoad NameLoad attr body If UnaryOpNot Call NameLoad NameLoad NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list
N/A N/A 
A :class:`~glue.core.subset_group.SubsetGroup` unites a group of
:class:`~glue.core.subset.Subset` instances together with a consistent state,
label, and style.

While subsets are internally associated with particular datasets, it's
confusing for the user to juggle multiple similar or identical
subsets, applied to different datasets. Because of this, the GUI
manages SubsetGroups, and presents each group to the user as a single
entity. The individual subsets are held in-sync by the SubsetGroup.

Client code should *only* create Subset Groups via
DataCollection.new_subset_group. It should *not* call Data.add_subset
or Data.new_subset directly
 __future__ absolute_import division print_function warnings warn glue.external six glue.core.contracts contract glue.core.message DataCollectionAddMessage DataCollectionDeleteMessage glue.core.visual VisualAttributes glue.core.hub HubListener glue.utils Pointer glue.core.subset SubsetState glue.core Subset glue.config settings N/A __all__ N/A GroupedSubset SubsetGroup GroupedSubset N/A Subset N/A N/A 
    A member of a SubsetGroup, whose internal representation
    is shared with other group members
     N/A subset_state N/A Pointer group.subset_state N/A label N/A Pointer group.label __init__ N/A N/A self data group N/A N/A N/A 
        :param data: :class:`~glue.core.data.Data` instance to bind to
        :param group: :class:`~glue.core.subset_group.SubsetGroup`
         N/A N/A self group group N/A N/A N/A N/A super GroupedSubset self __init__ data label N/A group label color N/A N/A group style color alpha N/A N/A group style alpha N/A _setup N/A N/A self color alpha label N/A N/A N/A N/A self color color N/A N/A self label label N/A N/A self style N/A VisualAttributes parent self N/A N/A N/A self style markersize 2.5 N/A N/A N/A self style color color N/A N/A N/A self style alpha alpha N/A verbose_label N/A N/A self N/A N/A N/A N/A %s (%s) N/A N/A self label N/A N/A self data label N/A property sync_style N/A N/A self other N/A N/A N/A N/A N/A N/A self style set other N/A __eq__ N/A N/A self other N/A N/A N/A N/A other self N/A N/A N/A six PY3 N/A N/A __hash__ N/A object __hash__ __gluestate__ N/A N/A self context N/A N/A N/A N/A dict group N/A N/A context id N/A self group style N/A N/A context do N/A self style N/A __setgluestate__ N/A N/A cls rec context N/A N/A N/A dummy_grp N/A SubsetGroup N/A self N/A cls None dummy_grp N/A N/A self N/A N/A self group N/A N/A context object N/A rec N/A group N/A N/A self style N/A N/A context object N/A rec N/A style N/A classmethod N/A SubsetGroup N/A HubListener N/A __init__ N/A N/A self color alpha label subset_state N/A N/A N/A settings SUBSET_COLORS N/A 0 0.5 None None N/A N/A 
        Create a new empty SubsetGroup

        Note: By convention, SubsetGroups should be created via
        DataCollection.new_subset.
         N/A N/A self subsets N/A N/A N/A subset_state None N/A N/A subset_state N/A SubsetState N/A N/A self subset_state subset_state N/A N/A self label label N/A N/A self _style None N/A N/A self style N/A VisualAttributes parent self N/A N/A N/A self style markersize 2.5 N/A N/A N/A self style color color N/A N/A N/A self style alpha alpha N/A register N/A N/A self data N/A N/A N/A 
        Register to a :class:`~glue.core.data_collection.DataCollection`

        This is called automatically by
        :meth:`glue.core.data_collection.DataCollection.new_subset_group`
         N/A N/A N/A self register_to_hub N/A data hub N/A d data N/A N/A s N/A GroupedSubset d self N/A N/A N/A N/A self subsets append s N/A N/A d s N/A zip data N/A self subsets N/A N/A N/A N/A d add_subset s N/A N/A contract data isinstance(DataCollection) paste N/A N/A self other_subset N/A N/A N/A paste subset state from other_subset onto self  N/A state N/A N/A N/A other_subset subset_state copy N/A N/A self subset_state state N/A _add_data N/A N/A self data N/A N/A N/A s N/A GroupedSubset data self N/A N/A N/A data add_subset s N/A N/A N/A N/A self subsets append s N/A _remove_data N/A N/A self data N/A N/A N/A s N/A list N/A self subsets N/A N/A N/A N/A s data data N/A N/A N/A N/A N/A self subsets remove s N/A register_to_hub N/A N/A self hub N/A N/A N/A N/A N/A hub subscribe self DataCollectionAddMessage N/A N/A N/A x N/A N/A N/A self _add_data N/A x data N/A N/A N/A hub subscribe self DataCollectionDeleteMessage N/A N/A N/A x N/A N/A N/A self _remove_data N/A x data N/A style N/A N/A self N/A N/A N/A N/A self _style N/A property style N/A N/A self value N/A N/A N/A N/A self _style value N/A N/A N/A self _sync_style N/A N/A style setter _sync_style N/A N/A self N/A N/A N/A s N/A self subsets N/A N/A N/A N/A s sync_style N/A self style N/A broadcast N/A N/A self item N/A N/A N/A N/A item style N/A N/A N/A N/A self _sync_style N/A N/A s N/A self subsets N/A N/A N/A N/A s broadcast item N/A N/A contract item string __setattr__ N/A N/A self attr value N/A N/A N/A N/A N/A object __setattr__ self attr value N/A N/A attr N/A subset_state label style N/A N/A N/A N/A self broadcast attr N/A __gluestate__ N/A N/A self context N/A N/A N/A N/A dict label N/A self label state N/A N/A context id N/A self subset_state style N/A N/A context do N/A self style subsets N/A list N/A map N/A context id N/A self subsets N/A __setgluestate__ N/A N/A cls rec context N/A N/A N/A result N/A cls N/A N/A result N/A N/A result subset_state N/A N/A context object N/A rec N/A state N/A N/A result label N/A rec N/A label N/A N/A result style N/A N/A context object N/A rec N/A style N/A N/A N/A result style parent result N/A N/A result subsets N/A list N/A map N/A context object N/A rec N/A subsets N/A classmethod __and__ N/A N/A self other N/A N/A N/A N/A N/A self subset_state N/A other subset_state N/A __or__ N/A N/A self other N/A N/A N/A N/A N/A self subset_state N/A other subset_state N/A __xor__ N/A N/A self other N/A N/A N/A N/A N/A self subset_state N/A other subset_state N/A __invert__ N/A N/A self N/A N/A N/A N/A N/A self subset_state N/A N/A coerce_subset_groups N/A N/A collect N/A N/A N/A 
    If necessary, reassign non-grouped subsets in a DataCollection
    into SubsetGroups.

    This is used to support DataCollections saved with
    version 1 of glue.core.state.save_data_collection
     N/A data collect N/A N/A subset N/A data subsets N/A N/A N/A N/A isinstance subset GroupedSubset N/A N/A N/A warn DataCollection has subsets outside of subset groups, which are no longer supported. Moving to subset groups N/A N/A N/A subset delete N/A grp N/A N/A collect new_subset_group N/A N/A grp subset_state N/A subset subset_state N/A N/A grp style N/A subset style N/A N/A grp label N/A subset label N/A