title: Plotting Complex Functions in Matplotlib (Python) from a slider?
body: <p>I'm pretty new to Python, and still learning the basics around matplotlib. I understand how one would plot something "normally", but for a task I'm going to need to plot a complex function, and be able to control the variables going into the that function via variables.</p>
  
  <p>For example: if I had the variables a, b, and c,</p>
  
  <p>and I wanted to plot the complex function: <strong>f(xj) = (a)(b)(xj)^c</strong> where j = sqrt(-1) </p>
  
  <p>(or any function you want, really, I just made this up off the top of my head).</p>
  
  <p>The goal is to plot them as separate lines (aka, the real component as one line, the imaginary component as the other), but to be able to control a, b and c via sliders. How would I do that? Ranges for the variables can be anything, since this is just a general how-to question. </p>
  
  <p>I know about the .real and the .imag commands, but I don't know how to carry that out for a function with variables controlled on a slider.</p>
  
  <p>Any help would be very much appreciated, thanks.</p>