qcodes/dataset/data_export.py
def flatten_1D_data_for_plot(rawdata: Union[Sequence[Sequence[Any]],
                                            np.ndarray]) -> np.ndarray:
    """
    Cast the return value of the database query to
    a 1D numpy array

    Args:
        rawdata: The return of the get_values function

    Returns:
        A one-dimensional numpy array

    """
    dataarray = np.array(rawdata).flatten()
    return dataarray

    Cast the return value of the database query to
    a 1D numpy array

    Args:
        rawdata: The return of the get_values function

    Returns:
        A one-dimensional numpy array

    
Cast the return value of the database query to
a 1D numpy array
Cast the return value of the database query to a 1D numpy array
def flatten_1D_data_for_plot(rawdata: Union[Sequence[Sequence[Any]],
                                            np.ndarray]) -> np.ndarray:
    dataarray = np.array(rawdata).flatten()
    return dataarray
def flatten_1D_data_for_plot ( rawdata : Union [ Sequence [ Sequence [ Any ] ] , np . ndarray ] ) -> np . ndarray : dataarray = np . array ( rawdata ) . flatten ( ) return dataarray
Cast the return value of the database query to
a 1D numpy array
Cast the return value of the database query to a 1D numpy array
"""
    Cast the return value of the database query to
    a 1D numpy array

    Args:
        rawdata: The return of the get_values function

    Returns:
        A one-dimensional numpy array

    """
A one-dimensional numpy array
A one - dimensional numpy array
rawdata
Union[Sequence[Sequence[Any]],
                                            np.ndarray]
The return of the get_values function
The return of the get_values function