title: How can I have two separate labels on each coordinate using matplotlib?
body: <p>I am trying to use for loops to iterate a label with the coordinates of each point as well as a name. The coordinates work fine but all 6 names are iterating on each point. This is what I have so far.</p>
  <pre><code>import matplotlib.pyplot as plt
  
  x = [0.0, -0.15, 0.04, 0.05, 0.1, -0.1]
  y = [-0.1, -0.2, 0.0, 0.15, -0.06, 0.3]
  titles = [&quot;title 1&quot;, &quot;title 2&quot;, &quot;title 3&quot;, &quot;title 4&quot;, &quot;title 5&quot;, &quot;title 6&quot;]
  
  plt.plot(x, y, 'r*')
  plt.axis([-0.35, 0.35, -0.35, 0.35])
  
  for i, j in zip(x, y):
      plt.text(i, j+0.02, '({}, {})'.format(i, j))
      for name in titles:
          plt.text(i, j+0.04, name)
  
  plt.axvline(x=0, c=&quot;black&quot;)
  plt.axhline(y=0, c=&quot;black&quot;)
  plt.show()
  </code></pre>
  <p><img src="https://i.stack.imgur.com/2dqgW.png" alt="image" /></p>