, must be accepted
        by both hist and plot

    Returns:
    --------
    fig: matplotlib figure
    r