Commit bc9b1ea
committed
Simplify synthetic event generation in interactive pan/zoom tests.
The same events can be indiscriminately sent to test panning and
zooming, and just calling _process() on the events actually tests a
bigger part of the pipeline than calling specifically
{press,drag,release}_{pan,zoom}.1 parent 183b04f commit bc9b1ea
File tree
2 files changed
+15
-27
lines changed- lib
- matplotlib/tests
- mpl_toolkits/mplot3d/tests
2 files changed
+15
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | 543 | | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | 544 | | |
556 | 545 | | |
557 | 546 | | |
| |||
576 | 565 | | |
577 | 566 | | |
578 | 567 | | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | 568 | | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
587 | 577 | | |
588 | | - | |
589 | | - | |
590 | | - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2138 | 2138 | | |
2139 | 2139 | | |
2140 | 2140 | | |
2141 | | - | |
2142 | | - | |
2143 | | - | |
2144 | 2141 | | |
2145 | 2142 | | |
2146 | | - | |
2147 | | - | |
2148 | | - | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
2149 | 2147 | | |
2150 | 2148 | | |
2151 | 2149 | | |
| |||
0 commit comments