Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close button on plotter window is broken #109

Closed
banesullivan opened this issue Mar 1, 2019 · 1 comment
Closed

Close button on plotter window is broken #109

banesullivan opened this issue Mar 1, 2019 · 1 comment
Labels
bug Uh-oh! Something isn't working as expected.
Milestone

Comments

@banesullivan
Copy link
Member

When closing a plotter, you currently must press the q button. If you press the exit button in the window, the plotter does not properly closed. For example:

import vtki
from vtki import examples

data = examples.load_uniform()

p = vtki.Plotter(notebook=False)
p.add_mesh(data)
p.show(screenshot='foo.png') # USE EXIT BUTTON NOT Q KEY

which produces a blank image because I guess the renderer is destroyed before the screenshot code is executed:

foo

@banesullivan banesullivan added the bug Uh-oh! Something isn't working as expected. label Mar 1, 2019
@banesullivan banesullivan modified the milestones: 0.17.0, 0.17.1 Mar 1, 2019
@akaszynski
Copy link
Member

Fixed in b43e2af.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh-oh! Something isn't working as expected.
Projects
None yet
Development

No branches or pull requests

2 participants