Commit 222b3ba
committed
Avoid creating a Tick in Axis.get_tick_space.
Doing so is expensive, and triggers the figure to be marked stale. We
don't need a whole tick, just the font size that it will eventually use,
so calculate that directly.1 parent 9909aeb commit 222b3ba
2 files changed
Lines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1315 | 1315 | | |
1316 | 1316 | | |
1317 | 1317 | | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
1318 | 1330 | | |
1319 | 1331 | | |
1320 | 1332 | | |
| |||
2186 | 2198 | | |
2187 | 2199 | | |
2188 | 2200 | | |
2189 | | - | |
2190 | 2201 | | |
2191 | 2202 | | |
2192 | | - | |
| 2203 | + | |
2193 | 2204 | | |
2194 | 2205 | | |
2195 | 2206 | | |
| |||
2472 | 2483 | | |
2473 | 2484 | | |
2474 | 2485 | | |
2475 | | - | |
2476 | 2486 | | |
2477 | | - | |
| 2487 | + | |
2478 | 2488 | | |
2479 | 2489 | | |
2480 | 2490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
533 | 534 | | |
534 | 535 | | |
535 | 536 | | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
0 commit comments