title: How to insert non overlapping text in matplotlib?
body: <p>I am trying to insert power flow results in a network plot created with matplotlib. Some buses are so close that labelling the names along with power flow results is proving to be a big headache because text overlap is making some portions unreadable. </p>
  
  <p>Is there some way to use the bounding box of the text to determine whether the text overlaps the plot lines and/or some other text? </p>