mudata.settings.override

mudata.settings.override#

settings.override(*, display_style=<no change>, display_html_expand=<no change>, pull_on_update=<no change>)#

Provides local override via keyword arguments as a context manager.

Parameters:
  • display_style (Literal['text', 'html'] (default: <no change>)) – MuData object representation to use in notebooks.

  • display_html_expand (int (default: <no change>)) –

    3-bit flag influencing whether to expand MuData slots when using HTML representation.

    • 0x4: expand MuData slots

    • 0x2: expand .mod slots

    • 0x1: expand slots for each modality

  • pull_on_update (bool (default: <no change>)) – Whether to pull columns from modalities into the global .obs/.var when running MuData.update().

Return type:

AbstractContextManager[None]