def _line(self, xy0, xy1, lc=None, ls=None):
    (x0, y0) = xy0
    (x1, y1) = xy1
    if (lc is None):
        linecolor = self._style.lc
    else:
        linecolor = lc
    if (ls is None):
        linestyle = 'solid'
    else:
        linestyle = ls
    if (linestyle == 'doublet'):
        theta = np.arctan2(np.abs((x1 - x0)), np.abs((y1 - y0)))
        dx = ((0.05 * WID) * np.cos(theta))
        dy = ((0.05 * WID) * np.sin(theta))
        self.ax.plot([(x0 + dx), (x1 + dx)], [(y0 + dy), (y1 + dy)], color=linecolor, linewidth=1.0, linestyle='solid', zorder=PORDER_LINE)
        self.ax.plot([(x0 - dx), (x1 - dx)], [(y0 - dy), (y1 - dy)], color=linecolor, linewidth=1.0, linestyle='solid', zorder=PORDER_LINE)
    else:
        self.ax.plot([x0, x1], [y0, y1], color=linecolor, linewidth=1.0, linestyle=linestyle, zorder=PORDER_LINE)
def _line(self, xy0, xy1, lc=None, ls=None):
    (x0, y0) = xy0
    (x1, y1) = xy1
    if (lc is None):
        linecolor = self._style.lc
    else:
        linecolor = lc
    if (ls is None):
        linestyle = 'solid'
    else:
        linestyle = ls
    if (linestyle == 'doublet'):
        theta = np.arctan2(np.abs((x1 - x0)), np.abs((y1 - y0)))
        dx = ((0.05 * WID) * np.cos(theta))
        dy = ((0.05 * WID) * np.sin(theta))
        self.ax.plot([(x0 + dx), (x1 + dx)], [(y0 + dy), (y1 + dy)], color=linecolor, linewidth=1.0, linestyle='solid', zorder=PORDER_LINE)
        self.ax.plot([(x0 - dx), (x1 - dx)], [(y0 - dy), (y1 - dy)], color=linecolor, linewidth=1.0, linestyle='solid', zorder=PORDER_LINE)
    else:
        self.ax.plot([x0, x1], [y0, y1], color=linecolor, linewidth=1.0, linestyle=linestyle, zorder=PORDER_LINE)