version method

version

Sets the ‘version’ attribute of the SVG element. This attribute specifies the SVG specification version that the document conforms to.

Returns

The SVGSVGElementBuilder instance for chaining.

def version(self, value):
    ...
ParameterTypeDescription
valuefloatThe SVG version number.

See Also