def stroke_width(width: float):
    """
    Returns an SVG stroke width attribute using the given width.

    :param width: `float` stroke width
    :return: stroke-width="<width>"
    """
    return f'stroke-width="{str(width)}"'