Commit 2292f7b
committed
Make set_x/ymargin() update axes limits, just like margins().
Previously, setting the margins via set_x/ymargin() would not update
axes limits, unlike calling margins(). This appears to be a simple
oversight.
The change in collections.py is necessary because the difference in
timing at which autoscale is executed now exposed a floating point
inaccuracy (which gets amplified by the old round_numbers autolimits
mode).1 parent a57ea3d commit 2292f7b
2 files changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2294 | 2294 | | |
2295 | 2295 | | |
2296 | 2296 | | |
| 2297 | + | |
2297 | 2298 | | |
2298 | 2299 | | |
2299 | 2300 | | |
| |||
2316 | 2317 | | |
2317 | 2318 | | |
2318 | 2319 | | |
| 2320 | + | |
2319 | 2321 | | |
2320 | 2322 | | |
2321 | 2323 | | |
| |||
2386 | 2388 | | |
2387 | 2389 | | |
2388 | 2390 | | |
| 2391 | + | |
| 2392 | + | |
2389 | 2393 | | |
2390 | 2394 | | |
2391 | 2395 | | |
2392 | 2396 | | |
2393 | 2397 | | |
2394 | | - | |
2395 | | - | |
2396 | | - | |
2397 | | - | |
2398 | 2398 | | |
2399 | 2399 | | |
2400 | 2400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4582 | 4582 | | |
4583 | 4583 | | |
4584 | 4584 | | |
| 4585 | + | |
| 4586 | + | |
| 4587 | + | |
| 4588 | + | |
| 4589 | + | |
| 4590 | + | |
| 4591 | + | |
| 4592 | + | |
4585 | 4593 | | |
4586 | 4594 | | |
4587 | 4595 | | |
| |||
0 commit comments