how do you create line segments between two points?,plt.show()