{{ message }}
Commit 84f69e0
committed
Remove auto-call to canvas.draw_idle in ResizeEvent processing.
Backends can call draw_idle themselves. Note that 1) this was already
done by the gtk backends, and 2) this may actually be unneeded, as
figure.set_size_inches (which is always called a bit earlier by the
various resize handlers) also marks the figure as stale, which should
trigger a redraw too. Still, let's add the draw_idle calls to be safe,
they shouldn't be costly as both draws should get compressed together;
we can always investigate removing them later.1 parent c61bf1b commit 84f69e0
5 files changed
Lines changed: 4 additions & 4 deletions
File tree
- lib/matplotlib
- backends
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| 351 | + | |
351 | 352 | | |
352 | 353 | | |
353 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
| |||

0 commit comments