0

I'm using the ipython qtconsole that comes with the anaconda installation. I guess it has the %inline magic on, so everytime I do something like

pylab.plot(x, y)

It draws the plot right away, and all is good. The problem starts when I want to adjust the plot just a little, then draw it again. Something like:

fig = pylab.figure()
ax = pylab.gca()
ax.plot(x, y)
ax.set_yscale('log')

But then, how do I draw 'ax' to the screen? (pylab.show() wouldn't work..)

nivniv
  • 3,421
  • 5
  • 33
  • 40

0 Answers0