Commit c236102
authored
Fix: Do not use numeric tolerances for axline special cases (matplotlib#28987)
vertical lines (infinite slope) and two identical points as input need special handling in AxLine. The detection was using numeric tolerances, which lead to false-positive detection in cases that are close to but not exactly those special cases.
This PR removes the tolerances. The argument is the same as for the similar case matplotlib#28386 (comment)
Closes matplotlib#28870.1 parent eb812a8 commit c236102
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | | - | |
1510 | | - | |
| 1509 | + | |
| 1510 | + | |
1511 | 1511 | | |
1512 | 1512 | | |
1513 | 1513 | | |
| |||
0 commit comments