title: How to output python graphs from terminal?
body: <p>I am very new to Python. Just installed it yesterday on Ubuntu 15.04. Now I am trying to output a parabola from the terminal. As far I understand I can not output any drawing on terminal so how can I see the graph?</p>
  
  <p>I did :
  <code>sudo apt-get install python-numpy python-scipy python-matplotlib</code></p>
  
  <p>my code is </p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  # create 1000 equally spaced points between -10 and 10
  x = np.linspace(-10, 10, 1000)
  
  # calculate the y value for each element of the x vector
  y = x**2 + 2*x + 2  
  
  fig, ax = plt.subplots()
  ax.plot(x, y)
  </code></pre>
  
  <p>it does not show error when i do <code>python parabola.py</code> but no output :(</p>