Skip to content

BUG: Bug with multi-view screen capture #7228

Closed

Description

@larsoner

See this example that uses hemi='split', all captured PyVista images are duplicated:

https://mne.tools/dev/auto_examples/visualization/plot_publication_figure.html#sphx-glr-auto-examples-visualization-plot-publication-figure-py

Moreover, once brain.close() is called, it should make sure no figures are generated (as they have been closed for that snippet). Compare the above to what used to be produced with mayavi produced (one pair of images rather than four pairs):

https://mne.tools/stable/auto_examples/visualization/plot_publication_figure.html#sphx-glr-auto-examples-visualization-plot-publication-figure-py

cc @GuillaumeFavelier can you look into it?

Activity

  1. GuillaumeFavelier commented on Jan 17, 2020

    @GuillaumeFavelier
    Contributor

    Yep, I'll take care of it.

  2. GuillaumeFavelier commented on Jan 20, 2020

    @GuillaumeFavelier
    Contributor

    I reported this behaviour upstream: pyvista/pyvista#548

  3. GuillaumeFavelier commented on Feb 14, 2020

    @GuillaumeFavelier
    Contributor

    Unfortunately, I think this might take a while to fix, probably at the next release of PyVista

  4. added this to the 0.20 milestone on Mar 4, 2020
  5. larsoner commented on Mar 4, 2020

    @larsoner
    MemberAuthor

    @GuillaumeFavelier it would be nice not to have our docs have this problem when they go to stable. So I think we either need this for 0.20, or we temporarily revert to using Mayavi to build docs during release...

  6. larsoner commented on Mar 5, 2020

    @larsoner
    MemberAuthor

    @GuillaumeFavelier should we revert to Mayavi on CircleCI until this is fixed?

  7. GuillaumeFavelier commented on Mar 6, 2020

    @GuillaumeFavelier
    Contributor

    should we revert to Mayavi on CircleCI until this is fixed?

    +1 for this @larsoner, I'll open the PR

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