def plot_line(ax, ob, line_color):
    """Plot boundaries of shapely line

    Parameters
    ----------
    ax : ``matplotlib.pyplot.Axes`` object
        Axes for plotting
    ob : ``Shapely`` object
        Geometry object whose boundaries should be plotted
    line_color : str
        matplotlib color to use for plotting the line

    """
    try:
        x, y = ob.xy
        ax.plot(x, y, color=line_color, alpha=0.7, linewidth=3,
            solid_capstyle='round', zorder=2)
    except NotImplementedError:
        for line in ob:
            x, y = line.xy
            ax.plot(x, y, color=line_color, alpha=0.7, linewidth=3,
                solid_capstyle='round', zorder=2)
