Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit13b4555
committed
Fix containment and subslice optim. for steps.
#6497 set the `_path` attribute of Line2D to the actually drawn patheven if the drawstyle is `steps-*`; however containment tests and thesubslice optimization for very long paths were not updated accordingly(see#6615). This patch fixes the issues.Note that `contains` returns, for events in a horizontal segment of a"steps-mid" drawstyle plot, the index of the point in the segment,regardless of whether the event occured to the left or the right ofthat point.1 parent5de9c44 commit13b4555
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
479 | 479 |
| |
480 | 480 |
| |
481 | 481 |
| |
| 482 | + | |
| 483 | + | |
482 | 484 |
| |
483 | 485 |
| |
484 | 486 |
| |
| |||
680 | 682 |
| |
681 | 683 |
| |
682 | 684 |
| |
683 |
| - | |
| 685 | + | |
| 686 | + | |
684 | 687 |
| |
685 | 688 |
| |
686 | 689 |
| |
| |||
693 | 696 |
| |
694 | 697 |
| |
695 | 698 |
| |
696 |
| - | |
697 |
| - | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
698 | 702 |
| |
699 | 703 |
| |
700 | 704 |
| |
|
0 commit comments
Comments
(0)