Skip to content

Info representation in doc build is not fully collapsed #12130

@hoechenberger

Description

@hoechenberger

Description of the problem

In the Report, the sections of all Info objects are collapsed, but the vertical space is still occupied

Steps to reproduce

# %%
import mne

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

raw = mne.io.read_raw_fif(sample_fname)
raw.crop(tmax=60)

report = mne.Report()
report.add_raw(raw, title="Test")
report.save("/tmp/report.html", overwrite=True)

Link to data

No response

Expected results

  • All sections should be uncollapsed by default
  • Collapsing a section should free the corresponding vertical space

Actual results

Screenshot 2023-10-24 at 17 07 22

Additional information

Report has its own collapsible sections

For the purpose of quick data / report assessment, all Info sections should be uncollapsed by default

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