code: def __init__(
      self,
      is_show: bool = True,
      width: Numeric = 1,
      opacity: Numeric = 1,
      curve: Numeric = 0,
      type_: str = "solid",
      color: Union[str, Sequence, None] = None,
  ):
      self.opts: dict = {
          "show": is_show,
          "width": width,
          "opacity": opacity,
          "curveness": curve,
          "type": type_,
          "color": color,
      }
  
imports: from typing import Any, Optional, Sequence, Tuple, Union
  from ..commons.utils import JsCode
label_desc: Use image node_id 1 to create a new LineStyleOpts object from inherited base classes: BasicOpts with example: obj = LineStyleOpts(is_show, width, opacity, curve, type_, color)