From ad534f86a5d147168b5bddb300b4d65074e44286 2014-05-10 18:32:31 From: Min RK Date: 2014-05-10 18:32:31 Subject: [PATCH] Merge pull request #5834 from takluyver/rmagic-display-fix Make rmagic display call compatible with updated API --- diff --git a/IPython/extensions/rmagic.py b/IPython/extensions/rmagic.py index 03ab809..a590fe7 100644 --- a/IPython/extensions/rmagic.py +++ b/IPython/extensions/rmagic.py @@ -665,7 +665,7 @@ class RMagics(Magics): self.shell.push({output:self.Rconverter(self.r(output), dataframe=True)}) for tag, disp_d in display_data: - publish_display_data(tag, disp_d) + publish_display_data(data=disp_d, source=tag) # this will keep a reference to the display_data # which might be useful to other objects who happen to use