<div class="gmail_extra"><div class="gmail_quote">On 13 December 2012 00:29, Michael Aye <span dir="ltr"><<a href="mailto:kmichael.aye@gmail.com" target="_blank">kmichael.aye@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1r4">is it possible when using --pylab=inline option to change, for example,<br>
the x-axis limits of a plot already displayed?<br>
<br>
I tried to catch the axis object:<br>
<br>
In [298]: ax<br>
Out[298]: <matplotlib.axes.AxesSubplot at 0x111e30690><br>
<br>
and then set it using ax.set_xlim() and a draw() but I guess the<br>
results of that don't communicate back to the already inline displayed<br>
plot in the notebook?</div></blockquote></div><br>No, for now, once the plot is displayed, it's essentially a static image, and the only way to change it is to recreate it. The matplotlib developers have some ideas about how to have interactive plots in the notebook, but it's not in place yet.<br>
<br>Thomas<br></div>