Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit151de3c
committed
Remove auto-call to canvas.draw_idle in ResizeEvent processing.
Backends can call draw_idle themselves. Note that 1) this was alreadydone by the gtk backends, and 2) this may actually be unneeded, asfigure.set_size_inches (which is always called a bit earlier by thevarious resize handlers) also marks the figure as stale, which shouldtrigger 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 parent2cdec10 commit151de3c
File tree
5 files changed
+4
-4
lines changed- lib/matplotlib
- backends
5 files changed
+4
-4
lines changedLines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1277 | 1277 |
| |
1278 | 1278 |
| |
1279 | 1279 |
| |
1280 |
| - | |
1281 |
| - | |
1282 |
| - | |
1283 |
| - | |
1284 | 1280 |
| |
1285 | 1281 |
| |
1286 | 1282 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
| 244 | + | |
244 | 245 |
| |
245 | 246 |
| |
246 | 247 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
348 | 348 |
| |
349 | 349 |
| |
350 | 350 |
| |
| 351 | + | |
351 | 352 |
| |
352 | 353 |
| |
353 | 354 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
343 | 343 |
| |
344 | 344 |
| |
345 | 345 |
| |
| 346 | + | |
346 | 347 |
| |
347 | 348 |
| |
348 | 349 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
705 | 705 |
| |
706 | 706 |
| |
707 | 707 |
| |
| 708 | + | |
708 | 709 |
| |
709 | 710 |
| |
710 | 711 |
| |
|
0 commit comments
Comments
(0)