class documentation

class PanelRefState(PanelRefBase): (source)

Constructor: PanelRefState(ctx)

View In Hierarchy

Class representing the state of a panel.

Parameters
ctxan fiftyone.operators.executor.ExecutionContext
Method __init__ Undocumented
Method apply Applies the state to the panel.
Method clear Clears the panel state.
Method set Sets some panel state.
Instance Variable _data Undocumented

Inherited from PanelRefBase:

Method __getattr__ Undocumented
Method __setattr__ Undocumented
Method get Gets a value from the dictionary.
Instance Variable _ctx Undocumented
def __init__(self, ctx): (source)
def apply(self, path): (source)

Applies the state to the panel.

Parameters
path:strThe path to the state.
def clear(self): (source)

Clears the panel state.

def set(self, key, value=None): (source)

Sets some panel state.

Parameters
keya key, "nested.key.path", or dict mapping multiple possibly-nested keys to values
value:Nonethe value, if key is a string