[IPython-User] what triggers a figure redraw / inline

Thomas Kluyver takowl@gmail....
Thu Feb 23 17:55:49 CST 2012


On 23 February 2012 21:31, John Hunter <jdh2358@gmail.com> wrote:
> The for loops near the end:
>
>   for tl in axHistx.get_xticklabels():
>       tl.set_visible(False)
>   axHistx.set_yticks([0, 50, 100])
>
> are not friendly to paste into ipython terminal shells because they do not
> have the blank line after the indent

Note that you can use %paste to run code from the clipboard. But I
agree that the notebook is a much better interface for demos.

Thomas


More information about the IPython-User mailing list