qcodes/dataset/plotting.py
def _on_rectilinear_grid_except_nan(x_data: np.ndarray, y_data: np.ndarray) -> bool:
        """
        check that data is on a rectilinear grid. e.g. all points are the same as the  first
        row and column with the exception of nans. Those represent points not yet measured.
        """
        x_row = x_data[:, 0:1]
        y_row = y_data[0:1, :]
        return (
            np.nanmax(np.abs(x_data - x_row)) == 0
            and np.nanmax(np.abs(y_data - y_row)) == 0
        )

        check that data is on a rectilinear grid. e.g. all points are the same as the  first
        row and column with the exception of nans. Those represent points not yet measured.
        
check that data is on a rectilinear grid.
check that data is on a rectilinear grid .
def _on_rectilinear_grid_except_nan(x_data: np.ndarray, y_data: np.ndarray) -> bool:
        x_row = x_data[:, 0:1]
        y_row = y_data[0:1, :]
        return (
            np.nanmax(np.abs(x_data - x_row)) == 0
            and np.nanmax(np.abs(y_data - y_row)) == 0
        )
def _on_rectilinear_grid_except_nan ( x_data : np . ndarray , y_data : np . ndarray ) -> bool : x_row = x_data [ : , 0 : 1 ] y_row = y_data [ 0 : 1 , : ] return ( np . nanmax ( np . abs ( x_data - x_row ) ) == 0 and np . nanmax ( np . abs ( y_data - y_row ) ) == 0 )
check that data is on a rectilinear grid.
check that data is on a rectilinear grid .
"""
        check that data is on a rectilinear grid. e.g. all points are the same as the  first
        row and column with the exception of nans. Those represent points not yet measured.
        """
x_data
np.ndarray
y_data
np.ndarray