title: Graphing a parabola with inputs in matplotlib
body: <p>so I've created a quadratic equation solver in python, and I want a graph to go along with it. I want this graph to depict the parabola. </p>
  
  <p>a = an input for a in quadratic equation</p>
  
  <p>b = an input for b in quadratic equation</p>
  
  <p>c = an input for c in quadratic equation</p>
  
  <p>y = -b/2*a (vector) </p>
  
  <pre><code>import math
  a = int(input('Input a: '))
  b = int(input('Input b: '))
  c = int(input('Input c: '))
  discrim = int((b*b) - 4*a*c) 
  posi = (-b + (math.sqrt(discrim)))/(2*a)
  neg = (-b - (math.sqrt(discrim)))/(2*a)
  
  
  if b &gt; 0 and c &gt; 0 and posi &lt; 0:
    posi = -posi
    if neg &lt; 0:
      neg = -neg
  
  y = -b/2*a
  vector = (neg+posi)/2, y)
  </code></pre>
  
  <p>With this code, I have my x intercept(s), and the vector, which is enough to create a parabola, I'm just not sure how to turn these values into a graph using MatPlotLib. Please ask any questions. </p>