[IPython-User] [notebook] set axis limits after inline plot?

Michael Aye kmichael.aye@gmail....
Wed Dec 12 18:29:44 CST 2012


Hi all,

is it possible when using --pylab=inline option to change, for example, 
the x-axis limits of a plot already displayed?

I tried to catch the axis object:

In [298]:   ax
Out[298]: <matplotlib.axes.AxesSubplot at 0x111e30690>

and then set it using ax.set_xlim() and a draw() but I guess the 
results of that don't communicate back to the already inline displayed 
plot in the notebook?

Michael





More information about the IPython-User mailing list