def plotPoints(points, style='bo', alpha=1, linewidth=2, label=""): if not type(points) == list: points = [points] points = spatial.toNumpy(points) plt.plot(points[:, 0], points[:, 1], style, alpha=alpha, linewidth=linewidth, label=label)
def plotPoints(points, style='bo'): if not type(points) == list: points = [points] points = spatial.toNumpy(points) plt.plot(points[:, 0], points[:, 1], style)