-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit 872675c
Implement blocking Qt event loop.
Avoids raising a deprecation warning (due to use of the default busy
waiting loop) when running e.g.
```
plt.gca(); plt.gcf().ginput(4)
```
or
```
plt.gca(); plt.gcf().ginput(4, timeout=2)
```
The implementation is similar to the one for the Wx backend.1 parent 72cea62 commit 872675c
1 file changed
+11
-10
lines changedLines changed: 11 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
430 | 430 |
| |
431 | 431 |
| |
432 | 432 |
| |
433 | - | ||
434 | - | ||
435 | - | ||
436 | - | ||
437 | - | ||
438 | - | ||
439 | - | ||
440 | - | ||
441 | - | ||
442 | - | ||
433 | + | ||
434 | + | ||
435 | + | ||
436 | + | ||
437 | + | ||
438 | + | ||
439 | + | ||
440 | + | ||
441 | + | ||
442 | + | ||
443 | + | ||
443 | 444 |
| |
444 | 445 |
| |
445 | 446 |
| |
|
0 commit comments