From ff836e1f0ab29d605fbfbf6bef1da5dcc87b75eb Mon Sep 17 00:00:00 2001 From: Kelsey Jordahl Date: Fri, 18 Oct 2013 16:39:24 -0400 Subject: [PATCH] ENH: Use colormap for plotting lines --- geopandas/plotting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geopandas/plotting.py b/geopandas/plotting.py index d17120e..8075631 100644 --- a/geopandas/plotting.py +++ b/geopandas/plotting.py @@ -64,7 +64,7 @@ def plot_series(s, colormap='Set1', axes=None): if geom.type == 'Polygon' or geom.type == 'MultiPolygon': plot_multipolygon(ax, geom, facecolor=color.next()) elif geom.type == 'LineString': - plot_linestring(ax, geom) + plot_linestring(ax, geom, color=color.next()) elif geom.type == 'Point': plot_point(ax, geom) return ax