title: nested for loop function
body: <p>I would like to create a nested function that iterates two loops for 2 lists of parameters to plot them.</p>
  <pre><code>distance = ['euclidean', 'l1', 'l2', 'manhattan', 'cosine']
  links = ['complete', 'average', 'single']
  
  for distance in distance:
      for links in links:
          agglomerative_fun(2, distance, links) 
  </code></pre>
  <p>is this the correct way to do it? When I put it each at a time the function works, but when I iterate it gives me an error.</p>