def histogram(title, title_x, title_y,
              x, bins_x):
    """
    Plot a basic histogram.
    """
    plt.figure()
    plt.hist(x, bins_x)
    plt.xlabel(title_x)
    plt.ylabel(title_y)
    plt.title(title)