From 5906000f79e67a23b7b4e7e991e6accb55206eaf 2017-01-12 12:37:31 From: Min RK Date: 2017-01-12 12:37:31 Subject: [PATCH] Backport PR #10093: Add 'rb' flags while reading SVG file Issue 10086 Signed-off-by: Thomas Kluyver --- diff --git a/IPython/core/display.py b/IPython/core/display.py index 4a943e4..7c26586 100644 --- a/IPython/core/display.py +++ b/IPython/core/display.py @@ -479,6 +479,7 @@ class Latex(TextDisplayObject): class SVG(DisplayObject): + _read_flags = 'rb' # wrap data in a property, which extracts the tag, discarding # document headers _data = None