class_docstr: A collection of one or more LineStrings.
  
  A MultiLineString has non-zero length and zero area.
  
  Parameters
  ----------
  lines : sequence
      A sequence LineStrings, or a sequence of line-like coordinate
      sequences or array-likes (see accepted input for LineString).
  
  Attributes
  ----------
  geoms : sequence
      A sequence of LineStrings
  
  Examples
  --------
  Construct a MultiLineString containing two LineStrings.
  
  >>> lines = MultiLineString([[[0, 0], [1, 2]], [[4, 4], [5, 6]]])
docstr: Returns a group of SVG polyline elements for the LineString geometry.
  
  Parameters
  ==========
  scale_factor : float
      Multiplication factor for the SVG stroke-width.  Default is 1.
  stroke_color : str, optional
      Hex string for stroke color. Default is to use "#66cc99" if
      geometry is valid, and "#ff3333" if invalid.
  opacity : float
      Float number between 0 and 1 for color opacity. Default value is 0.8
docstr_tok: ["Returns","a","group","of","SVG","polyline","elements","for","the","LineString","geometry",".","Parameters","==========","scale_factor",":","float","Multiplication","factor","for","the","SVG","stroke-width",".","Default","is","1.","stroke_color",":","str",",","optional","Hex","string","for","stroke","color",".","Default","is","to","use","``","#","66cc99","''","if","geometry","is","valid",",","and","``","#","ff3333","''","if","invalid",".","opacity",":","float","Float","number","between","0","and","1","for","color","opacity",".","Default","value","is","0.8"]
code: def svg(self, scale_factor=1.0, stroke_color=None, opacity=None):
      """Returns a group of SVG polyline elements for the LineString geometry.
  
      Parameters
      ==========
      scale_factor : float
          Multiplication factor for the SVG stroke-width.  Default is 1.
      stroke_color : str, optional
          Hex string for stroke color. Default is to use "#66cc99" if
          geometry is valid, and "#ff3333" if invalid.
      opacity : float
          Float number between 0 and 1 for color opacity. Default value is 0.8
      """
      if self.is_empty:
          return "<g />"
      if stroke_color is None:
          stroke_color = "#66cc99" if self.is_valid else "#ff3333"
      return (
          "<g>"
          + "".join(
              p.svg(scale_factor, stroke_color, opacity)
              for p in self.geoms
          )
          + "</g>"
      )
  
file_path: shapely/shapely/geometry/multilinestring.py
imports: import shapely
  from shapely.errors import EmptyPartError
  from shapely.geometry import linestring
  from shapely.geometry.base import BaseMultipartGeometry
label_desc: Use image node_id 3 for calling the MultiLineString obj's underlying member method code with example usage: obj.svg(scale_factor, stroke_color, opacity) and returns: unknown, str