def METHOD_NAME(external):
    fig = qa_view.display_acf(df, "col2", "Data", external_axes=external)
    if external:
        assert fig.__class__.__name__ == "OpenBBFigure"
    else:
        assert fig.__class__.__name__ == "MagicMock"