(self, scale_factor=1., color=None)
return '<g>' + \
            ''.join(p.svg(scale_factor, color) for p in self) + \
            '</g>'
Returns a group of SVG elements for the multipart geometry.

        Parameters
        ==========
        scale_factor : float
            Multiplication factor for the SVG stroke-width.  Default is 1.
        color : str, optional
            Hex string for stroke or fill color. Default is to use "#66cc99"
            if geometry is valid, and "#ff3333" if invalid.
Returns a group of SVG elements for the multipart geometry.
Returns a group of SVG elements for the multipart geometry .
def svg(self, scale_factor=1., color=None):
        """Returns a group of SVG elements for the multipart geometry.

        Parameters
        ==========
        scale_factor : float
            Multiplication factor for the SVG stroke-width.  Default is 1.
        color : str, optional
            Hex string for stroke or fill color. Default is to use "#66cc99"
            if geometry is valid, and "#ff3333" if invalid.
        """
        if self.is_empty:
            return '<g />'
        if color is None:
            color = "#66cc99" if self.is_valid else "#ff3333"
        return '<g>' + \
            ''.join(p.svg(scale_factor, color) for p in self) + \
            '</g>'
def svg ( self , scale_factor = 1. , color = None ) : if self . is_empty : return '<g />' if color is None : color = "#66cc99" if self . is_valid else "#ff3333" return '<g>' + '' . join ( p . svg ( scale_factor , color ) for p in self ) + '</g>'