Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commitaaa1e20
committed
Trigger events via standard callbacks in widget testing.
Sending actual events through the whole event processing pipeline is amore complete test, reveals a few minor issues (see changes below), andavoids being linked to the rather nonstandard widget method names("press" or "_click"?).The coordinates in the "move first vertex after completing the polygon"subtest of test_polygon_selector(draw_bounding_box=True) were alteredbecause the original coordinates would actually not work in a real case,as the mouse-drag would actually also trigger the polygon-rescalingbehavior.The coordinates in test_rectangle_{drag,resize} were altered because forthe original coordinates, the click_and_drag would actually be ignore()ddue to starting (just) outside of the axes.1 parent2f6589d commitaaa1e20
File tree
5 files changed
+221
-231
lines changed- doc/api/next_api_changes/deprecations
- lib
- matplotlib
- testing
- tests
- mpl_toolkits/mplot3d/tests
5 files changed
+221
-231
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1422 | 1422 |
| |
1423 | 1423 |
| |
1424 | 1424 |
| |
| 1425 | + | |
| 1426 | + | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
1425 | 1434 |
| |
1426 | 1435 |
| |
1427 | 1436 |
| |
| |||
1514 | 1523 |
| |
1515 | 1524 |
| |
1516 | 1525 |
| |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
1517 | 1537 |
| |
1518 | 1538 |
| |
1519 | 1539 |
| |
|
Lines changed: 11 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
| |||
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
| 28 | + | |
27 | 29 |
| |
28 | 30 |
| |
29 | 31 |
| |
| |||
65 | 67 |
| |
66 | 68 |
| |
67 | 69 |
| |
| 70 | + | |
68 | 71 |
| |
69 | 72 |
| |
70 | 73 |
| |
| |||
105 | 108 |
| |
106 | 109 |
| |
107 | 110 |
| |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
112 | 114 |
| |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + |
0 commit comments
Comments
(0)