title: matplotlib plots 2 line instead of 1
body: <p>I have this python array:
  <a href="https://i.stack.imgur.com/kwm7k.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kwm7k.png" alt="enter image description here" /></a></p>
  <p>when I use this code:</p>
  <pre><code>plt.plot(t, 10 * t)
  </code></pre>
  <p>I get the following line:</p>
  <p><a href="https://i.stack.imgur.com/vEmpL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vEmpL.png" alt="enter image description here" /></a></p>
  <p>But when I use this code:</p>
  <pre><code>plt.plot(t, t**2)
  </code></pre>
  <p>I get 2 lines:</p>
  <p><a href="https://i.stack.imgur.com/uXlW8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uXlW8.png" alt="enter image description here" /></a></p>
  <p>What am I doing wrong here, why is it plotting 2 lines instead of 1??</p>