def precision_recall(timestamp):
    test_labels, test_predictions = get_labels_predictions(timestamp)
    prec_recall_fig = plot_precision_recall_n(test_labels, test_predictions)

    return serve_matplotlib_fig(prec_recall_fig)