##// END OF EJS Templates
allow ipython console to handle text/plain display
Paul Ivanov -
Show More
@@ -277,6 +277,9 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):'
277 if mime in data and mime in self._imagemime:
277 if mime in data and mime in self._imagemime:
278 self.handle_image(data, mime)
278 self.handle_image(data, mime)
279 return
279 return
280 # if it was an image, we handled it by now and returned
281 if 'text/plain' in data:
282 print(data['text/plain'])
280
283
281 def handle_image(self, data, mime):
284 def handle_image(self, data, mime):
282 handler = getattr(
285 handler = getattr(
General Comments 0
You need to be logged in to leave comments. Login now