# Path: openaq/decorators.py
# def skipif(skipcondition, msg = ""):
#     """
#     """
#     def decorator(f):
#         @wraps(f)
#         def decorated_function(*args, **kwargs):
#             if skipcondition == True:
#                 raise SkipTest(msg)
# 
#             return f(*args, **kwargs)
#         return decorated_function
#     return  decorator


from .decorators import skipif
    import pandas as pd
    import seaborn as sns
    import matplotlib.pyplot as plt
    import matplotlib.dates as dates

try:

    _no_pandas = False
except ImportError:
    _no_pandas = True

try:

    _no_sns = False
except ImportError:
    _no_sns = True


# Path: openaq/decorators.py
# def skipif(skipcondition, msg = ""):
#     """
#     """
#     def decorator(f):
#         @wraps(f)
#         def decorated_function(*args, **kwargs):
#             if skipcondition == True:
#                 raise SkipTest(msg)
# 
#             return f(*args, **kwargs)
#         return decorated_function
#     return  decorator


# Path: openaq/viz.py
from .decorators import skipif
    import pandas as pd
    import seaborn as sns
    import matplotlib.pyplot as plt
    import matplotlib.dates as dates


try:

    _no_pandas = False
except ImportError:
    _no_pandas = True

try:

    _no_sns = False
except ImportError:
    _no_sns = True


def tsindex(ax):