Skip to content
v0.2.1

SVG

class SVGVis(Visualization):

SVG visualization.

Use this visualization when you want full control over the rendered output by providing raw SVG markup.

Attributes:

  • type Literal['svg'] — Fixed discriminator "svg".
  • svg str — SVG markup as a string.
Source
class SVGVis(Visualization):
"""SVG visualization.
Use this visualization when you want full control over the rendered output
by providing raw SVG markup.
Attributes:
type: Fixed discriminator `"svg"`.
svg: SVG markup as a string.
"""
type: Literal["svg"] = "svg"
svg: str