<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 16, 2015 at 2:24 PM, taleb brost <span dir="ltr"><<a href="mailto:mkpaustin@gmail.com" target="_blank">mkpaustin@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 dir="ltr"><div><div><div><div>I'm using code from<br><br><a href="https://github.com/petered/plato/blob/fb2f4e252f50c79768920d0e47b870a8d799e92b/notebooks/config/strip_notebook_output" target="_blank">https://github.com/petered/plato/blob/fb2f4e252f50c79768920d0e47b870a8d799e92b/notebooks/config/strip_notebook_output</a><br><br></div>to filter my notebooks when they're committed to github.   <br><br></div>Is this the best approach, or would something that uses <br><br>ClearOutputPreprocessor.enabled=True <br><br></div></div></div></blockquote><div><br></div><div>Given that the IPython devs can and do change the notebook format, it would probably be preferable to use the ClearOutputPreprocessor, if only because it will be easier to maintain and less likely to break due to internal changes in IPython or the notebook format.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div></div>be preferable? <br><br></div>Thanks, Phil Austin<br><br></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div></div>