def plot_linestring(ax, geom, color='black', linewidth=1.0, **kwargs):
    a = np.array(geom)
    ax.plot(a[:, 0], a[:, 1], color=color, linewidth=linewidth, **kwargs)
Plot a single LineString geometry
dataset/ETHPy150Open geopandas/geopandas/geopandas/plotting.py/plot_linestring