[IPython-User] Getting matplotlib output using %run in qtconsole

Fernando Perez fperez.net@gmail....
Thu Jan 5 19:04:12 CST 2012


On Thu, Jan 5, 2012 at 9:00 AM, Thomas Kluyver <takowl@gmail.com> wrote:
> [Oops, we went off list. Replying back there so other people can see the
> solution]
>
> On 5 January 2012 16:56, Sean Vig <sean.v.775@gmail.com> wrote:
>>
>> On Thu, Jan 5, 2012 at 10:50, Thomas Kluyver <takowl@gmail.com> wrote:
>>>
>>> I think, looking at the code, you can do this:
>>>
>>> from IPython.core.display import display
>>> display(obj1)
>>> display(obj2)
>>> ...
>>>
>>> But I'm not the most familiar with this code - others will be able to
>>> tell you more.

Yes, and in fact display is auto-injected into the user's namespace
for convenience (one of the very few things we put in there).

Cheers,

f


More information about the IPython-User mailing list