Returns the corner points of a scatter rectangle :param x0: x-start :param y0: y-lower :param x1: x-end :param y1: y-upper :return: ([x], [y]), tuple of lists containing the x and y values
(x0, y0, x1, y1)
| 13 | |
| 14 | |
| 15 | def _get_corner_points(x0, y0, x1, y1): |
| 16 | """ |
| 17 | Returns the corner points of a scatter rectangle |
| 18 | |
| 19 | :param x0: x-start |
| 20 | :param y0: y-lower |
| 21 | :param x1: x-end |
| 22 | :param y1: y-upper |
| 23 | :return: ([x], [y]), tuple of lists containing the x and y values |
| 24 | """ |
| 25 | |
| 26 | return ([x0, x1, x1, x0], [y0, y0, y1, y1]) |
| 27 | |
| 28 | |
| 29 | def validate_gantt(df): |
no outgoing calls
no test coverage detected