From f4628220b7351701c0fc183cad881313c111e457 2012-08-21 16:18:36 From: Takafumi Arakaki Date: 2012-08-21 16:18:36 Subject: [PATCH] Fix ZMQTerminalInteractiveShell.handle_rich_data Shown only one image type. --- diff --git a/IPython/frontend/terminal/console/interactiveshell.py b/IPython/frontend/terminal/console/interactiveshell.py index f5133e2..cf31de1 100644 --- a/IPython/frontend/terminal/console/interactiveshell.py +++ b/IPython/frontend/terminal/console/interactiveshell.py @@ -231,6 +231,7 @@ class ZMQTerminalInteractiveShell(TerminalInteractiveShell): for mime in ['image/png', 'image/jpeg', 'image/svg+xml']: if mime in data: self.handle_image(data, mime) + return def handle_image(self, data, mime): handler = getattr(