title: Plotting 2D in Python
body: <p>I am trying to line plot a function, but I am getting an error. How can I do this?</p>
  
  <p>I am using Enthought <a href="https://www.enthought.com/products/canopy/" rel="nofollow">Canopy</a>.</p>
  
  <pre><code>In[35] : plt.plot(np.arange(0, nx, 1), Iftarray[:, ny/2])
  Out[35]: [&lt;matplotlib.lines.Line2D at 0x8332dd8&gt;]
  </code></pre>