Highlight an angle between ab and cd with (color, alpha).
(
ax: matplotlib.axes.Axes,
a: Point,
b: Point,
c: Point,
d: Point,
color: Any,
alpha: float,
)
| 1039 | |
| 1040 | |
| 1041 | def highlight_angle( |
| 1042 | ax: matplotlib.axes.Axes, |
| 1043 | a: Point, |
| 1044 | b: Point, |
| 1045 | c: Point, |
| 1046 | d: Point, |
| 1047 | color: Any, |
| 1048 | alpha: float, |
| 1049 | ) -> None: |
| 1050 | """Highlight an angle between ab and cd with (color, alpha).""" |
| 1051 | try: |
| 1052 | a, b, c, d = bring_together(a, b, c, d) |
| 1053 | except: # pylint: disable=bare-except |
| 1054 | return |
| 1055 | draw_angle(ax, a, b, d, color=color, alpha=alpha, frac=1.0) |
| 1056 | |
| 1057 | |
| 1058 | def highlight( |
no test coverage detected