Skip to content

Automatically close figure #313

Answered by highfestiva
lkries asked this question in Q&A
Discussion options

You must be logged in to vote

You might be able to do something like this:

fplt.timer_callback(fplt.close, 3)
fplt.show()

The reason for this roundabout way is how the PyQt event loop works.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lkries
Comment options

Answer selected by lkries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants