def check_plottype(ptype):
    """Verify the plottype"""
    
    assert isinstance(ptype, str), \
        f'(TypeError) Plot type {ptype} must be a string'
    assert ptype in ['linear', 'log'], \
        f'(ValueError) Plot option {ptype} not recognized'
    
    return None