title: Poly1d with Matplotlib
body: <p>I'm trying to plot a function which is an object of numpy.poly1d. In my case it is <code>y = -x^2 + 7x -7</code>. So now I'm trying to plot it like a nice parabola, however when I plot it, it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/C4arW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C4arW.png" alt="1"></a>
  </p>
  
  <p>So I wondered if anybody could tell me how to make this line smooth.</p>
  
  <p>This is my code:</p>
  
  <pre><code>t = np.poly1d([-1, 7, -7])
  
  plt.plot(t)
  plt.show()
  </code></pre>