<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def plot_estimates(positions, estimates):
 """ Plots density, and probability estimates. Parameters positions : iterable of float Paragraph positions for which densities, and probabilities were estimated. estimates : six-tuple of (sequence of float) Estimates of P(relevant), p(position), p(position | relevant), P(position, relevant), and P(relevant | position). Returns ------- matplotlib.figure.Figure The plotted figure. """

    x = list(positions)
    fig = plt.figure(figsize=(SUBPLOT_WIDTH * len(estimates), FIGURE_HEIGHT))
    for i, (title, y) in enumerate(zip(ESTIMATE_TITLES, estimates)):
        ax = fig.add_subplot(1, len(estimates), i + 1)
        ax.plot(x, y, linewidth=LINE_WIDTH, c=LINE_COLOR)
        ax.title.set_text(title)
        ax.set_xlim(0, 1)
        ax.set_xlabel("position")
        ax.set_ylabel("$\\hat P$")
        ax.grid()
    return fig