def prepareCurveSignal(button, label, type_, xData, yData, x, y, xPixel, yPixel
    ):
    """See Plot documentation for content of events"""
    return {'event': 'curveClicked', 'button': button, 'label': label,
        'type': type_, 'xdata': xData, 'ydata': yData, 'x': x, 'y': y,
        'xpixel': xPixel, 'ypixel': yPixel}
