title: Pythonic Way to Determine Width of Plot
body: <p>I have the following plot.<a href="https://i.stack.imgur.com/F199L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F199L.png" alt="enter image description here"></a></p>
  
  <p>I am looking for a pythonic way to find the width of the X and Y Profiles (as you can see, the width should be about 0.002). </p>
  
  <p>Non-pythonic methods I have already considered include looping through the X and Y Profile Lists both forwards and backwards to determine the first element that is greater than a certain value (maybe the maximum value divided by 3).</p>