Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Render window in Report is sometimes abstract #7948

@user27182

Description

@user27182

Describe the bug, what's wrong, and what you expected.

Since migrating to tox, the render window in the report is showing as abstract. This may have been because the reports were previously generated after running tests. It seems triggering the rendering pipeline is needed to "activate" it somehow.

from vtkmodules.vtkRenderingCore import vtkRenderWindow
print(vtkRenderWindow().GetClassName())
# vtkRenderWindow

import pyvista as pv; pv.Plotter(off_screen=True).show()
print(vtkRenderWindow().GetClassName())
# vtkCocoaRenderWindow

Steps to reproduce the bug.

See above

System Information

See CI

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUh-oh! Something isn't working as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions