def make_dict_an(coord, text, label=None, color=None, y_offset=10):
    """Create stylized chart annotation.

    Args:
        coord: tuple of x and y coordinate
        text: string text for annotation
        label: string label shown on hover
        color: string color. If None (default), will revert to black
        y_offset: offset in yaxis for annotation

    Returns:
        dict: keyword arguments for `go.layout.Annotation`

    """
    return {
        'arrowcolor': color or 'black',
        'arrowhead': 7,
        'arrowsize': 0.3,
        'arrowwidth': 1.5,
        'ax': coord[0],
        'axref': 'x',
        'ay': coord[1] + y_offset,
        'ayref': 'y',
        'bgcolor': color or 'black',
        'bordercolor': color or 'black',
        'borderpad': 2,
        'borderwidth': 1,
        'font': {'color': '#ffffff'},
        'hovertext': label,
        'opacity': 0.8,
        'showarrow': True,
        'text': text,
        'x': coord[0],
        'xref': 'x',
        'y': coord[1],
        'yref': 'y',
    }