def fix_hdp_labels(texts) ->None:
    """
    Goes over all texts in a matplotlib axis and changes 'HPD's to 'HDI's.
    HPD: "Highest Posterior Density" which is a default name in Pymc3
    HDI: "Highest Density Interval" which is a term we used in our paper
    :param texts:
    :return:
    """
    for tx in texts:
        if 'HPD' in tx.get_text():
            tx.set_text('HDI')
