Skip to content

Collapsed Info HTML repr leads to degraded UX #12131

@hoechenberger

Description

@hoechenberger

Description of the problem

Info HTML reprs are now collapsed by default. That means that whenever I want to view Info inside e.g. a Jupyter Notebook or VS Code Python's Interactive Window, I need to click to uncollapse things. It's disrupting my workflow and I had to resort to typing print(info), but this doesn't show the nice HTML representation. I'm unhappy.

Steps to reproduce

# %%
import mne

sample_dir = mne.datasets.sample.data_path()
sample_fname = sample_dir / 'MEG' / 'sample' / 'sample_audvis_raw.fif'

info = mne.io.read_info(sample_fname)
info

Link to data

No response

Expected results

Screenshot 2023-10-24 at 17 19 28

Actual results

Screenshot 2023-10-24 at 17 19 46

Additional information

At least the General and Channel sections should be uncollapsed by default

Filing as a bug because I really dislike it and it disrupts my workflow

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions