def have_matplotlib():
    try:
        import matplotlib
        return True
    except __HOLE__:
        return False
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/vector_ar/tests/test_var.py/have_matplotlib