def test_poly_plot(self):
        clf()
        filename = 'poly_plot.png'
        t1 = Polygon([(0, 0), (1, 0), (1, 1)])
        t2 = Polygon([(1, 0), (2, 0), (2, 1)])
        polys = GeoSeries([t1, t2])
        ax = polys.plot()
        self._compare_images(ax=ax, filename=filename)
Test plotting a simple series of polygons
dataset/ETHPy150Open geopandas/geopandas/geopandas/tests/test_plotting.py/TestImageComparisons.test_poly_plot