title: Calculating the distance between two points in python
body: <p>I am trying to get my code to calculate the distance between turning point locations on the two graphs I have plotted.</p>
  
  <p>The code needs to compare the location of the first turning point on graph 1 to the location of the first turning point on graph 2. This step is then repeated on the remaining turning points. </p>
  
  <p>The reason I am doing this is as I am trying to measure graph similarity after simplification. I will attach the code as well as the data files if anyone has anything to add.</p>
  
  <p>Thanks.</p>