import pickle


def load_pickle(ifpath):
    """
    Load an object from pickle

    Args:
        ifpath (str): path from where a graph is loaded
    """
    with open(ifpath, 'rb') as ifh:
        return pickle.load(ifh)