Skip to content

Report.add_figure() should not close the passed figures #10169

Closed

Description

@hoechenberger

I think if MNE-report creates a figure, it should auto-close, but if user created the figure (as in add_figure), it should not close, by default.

Originally posted by @jasmainak in #10164 (comment)

Activity

  1. added this to the 1.0 milestone on Jan 3, 2022
  2. agramfort commented on Jan 3, 2022

    @agramfort
    SponsorMember
  3. larsoner commented on Feb 11, 2022

    @larsoner
    Member

    @hoechenberger I can do this early next week unless you want to do it

  4. hoechenberger commented on Feb 11, 2022

    @hoechenberger
    MemberAuthor

    If you've got the time, please go ahead! I believe the fix should be simple – in add_figure(), pass auto_close=False to the function that converts figures to images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions