qcodes/dataset/plotting.py
def _is_string_valued_array(values: np.ndarray) -> bool:
    """
    Check if the given 1D numpy array contains categorical data, or, in other
    words, if it is string-valued.

    Args:
        values: A 1D numpy array of values

    Returns:
        True, if the array contains string; False otherwise
    """
    return isinstance(values[0], str)

    Check if the given 1D numpy array contains categorical data, or, in other
    words, if it is string-valued.

    Args:
        values: A 1D numpy array of values

    Returns:
        True, if the array contains string; False otherwise
    
Check if the given 1D numpy array contains categorical data, or, in other
words, if it is string-valued.
Check if the given 1D numpy array contains categorical data or in other words if it is string - valued .
def _is_string_valued_array(values: np.ndarray) -> bool:
    return isinstance(values[0], str)
def _is_string_valued_array ( values : np . ndarray ) -> bool : return isinstance ( values [ 0 ] , str )
Check if the given 1D numpy array contains categorical data, or, in other
words, if it is string-valued.
Check if the given 1D numpy array contains categorical data or in other words if it is string - valued .
"""
    Check if the given 1D numpy array contains categorical data, or, in other
    words, if it is string-valued.

    Args:
        values: A 1D numpy array of values

    Returns:
        True, if the array contains string; False otherwise
    """
True, if the array contains string; False otherwise
True if the array contains string ; False otherwise
values
np.ndarray
A 1D numpy array of values
A 1D numpy array of values