title: ValueError: need more than 1 value to unpack how can i fix it
body: <p>I'm trying to plot in python (2.7), but I'm getting this ValueError: need more than 1 value to unpack.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>x, y = zip(*list_with_data) 
  xlocs = np.arange(len(x))
  
  fig = plt.figure()
  ax = fig.gca()
  ax.bar(xlocs + 0.6, y)
  ax.set_xticks(xlocs + 1)
  ax.set_xticklabels(x)
  ax.set_xlim(0.0, xlocs.max() + 2)
  
  plt.show()
  </code></pre>
  
  <p>My </p>
  
  <pre><code>list_with_data = Counter(numbers(text))
  </code></pre>
  
  <p>I want the x-label to be, the numbers that the text includes:</p>
  
  <blockquote>
    <p>1,2,3,4,5,6...</p>
  </blockquote>
  
  <p>and I want my y-label to represent: how many times they are included in the text.</p>
  
  <p>example:</p>
  
  <pre><code>x: 1, y: 150
  x: 2, y: 20
  </code></pre>
  
  <p>how can I plot this from my dataset?</p>