def svg(self, scale_factor=1., fill_color=None):
        if self.is_empty:
            return '<g />'
        if fill_color is None:
            fill_color = "#66cc99" if self.is_valid else "#ff3333"
        return '<g>' + \
            ''.join(p.svg(scale_factor, fill_color) for p in self) + \
            '</g>'
Returns group of SVG path elements for the MultiPolygon geometry.
dataset/ETHPy150Open Toblerity/Shapely/shapely/geometry/multipolygon.py/MultiPolygon.svg