Skip to content

BUG: _plot_mri_contours makes too many figures #9812

Closed

Description

@larsoner

Activity

  1. larsoner commented on Oct 7, 2021

    @larsoner
    MemberAuthor

    ... also it seems weird to have moved the fig creation out of the conditional, just to close the figure:

    https://github.com/mne-tools/mne-python/pull/9754/files#diff-29e49a197d8f4e70c13388d2374c60cb9a2811aeb0ccfaf67e39ec82717456dbR392-R397

    It seems like we should only create this figure if it's needed, rather than always creating it and closing it if it's not needed. EDIT: though maybe I'm missing some reason it needs to be created, since it was created in both cases before, too...?

  2. hoechenberger commented on Oct 7, 2021

    @hoechenberger
    Member

    I think I simply forgot about this change request in the end. I will take a look shortly

  3. self-assigned this
    on Oct 8, 2021
  4. added a commit that references this issue on Oct 8, 2021
    905bbfc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions