def read_polygon(file: str) -> np.ndarray:
    'Reads a polygon from a table.\n\n    Args:\n        file: Path to a file containing a plain text, tab-separated\n            table with scalars.\n    \n    Returns:\n        A matrix containing the data in the file.\n    '
    return np.genfromtxt(file)
Reads a polygon from a table.

Args:
    file: Path to a file containing a plain text, tab-separated
        table with scalars.

Returns:
    A matrix containing the data in the file.
def read_polygon(file: str) -> np.ndarray:
    'Reads a polygon from a table.\n\n    Args:\n        file: Path to a file containing a plain text, tab-separated\n            table with scalars.\n    \n    Returns:\n        A matrix containing the data in the file.\n    '
    return np.genfromtxt(file)