nbconvert template to remove warnings

68 views
Skip to first unread message

Jake Vanderplas

unread,
Aug 9, 2016, 1:11:50 PM8/9/16
to Project Jupyter
Hello,
I have seen Min's recipe to strip outputs from a notebook.
Does anybody have a good recipe that will strip just the warnings from a notebook? Thanks!
   Jake

Matthias Bussonnier

unread,
Aug 9, 2016, 1:24:37 PM8/9/16
to jup...@googlegroups.com
No particularly, No. Warning are just on stderr, so you could get rid
of all of stderr if you have nothing else on it.

Alternatively can you re-run the notebook ? if so you can add a simple
warning filter that ignore all the warnings at python level.

Would any of these solution suits you ?
--
M
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/47433ea6-7026-4a2f-8e03-31372011b06a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages