These are chat archives for ipython/ipython

7th
Aug 2015
Aaron Meurer
@asmeurer
Aug 07 2015 02:12
can someone here help me configure IPython
I can’t for the life of me get the prompt configured.
Aaron Meurer
@asmeurer
Aug 07 2015 02:22
OK, I figured out you have to put stuff in a file in the startup directory
Aaron Meurer
@asmeurer
Aug 07 2015 02:33
is it possible to call a function immediately before ipython runs a line?
Damian Avila
@damianavila
Aug 07 2015 04:09
you mean before running each cell??
litaotao
@litaotao
Aug 07 2015 04:22
hi, there, is there any way of build a data visualized page and share to others like google docs, or project zeppelin in our ipython notebook ?
I really like the data visualization of project zeppelin, but it's too heavy for me, what I need is just a dashboard where I can draw and delete graph, and the graph can refresh in real time....
@asmeurer how about add a decorator of that function ?
Adriano
@rsvp
Aug 07 2015 04:32
how can one redirect the output from "foo??" to a IPython notebook cell, rather than the disjoint view window at the bottom?
Sylvain Corlay
@SylvainCorlay
Aug 07 2015 14:58
@ellisonbg ,@minrk did you get the time to look at ipython/traitlets#61 which implement the traitlet API changes?
Aaron Meurer
@asmeurer
Aug 07 2015 15:47
@damianavila I only care about the terminal
Damian Avila
@damianavila
Aug 07 2015 15:51
ohh, sorry, I was thinking in the notebook... @asmeurer, there is some hook to run code before each prompt... look into the IPython api, core.hooks section, IIRC, or something like that... I never used them but I guess they are working ok...
Aaron Meurer
@asmeurer
Aug 07 2015 15:53
I'll take a look
Min RK
@minrk
Aug 07 2015 17:28
@SylvainCorlay sorry, I'm trying to finish packing. I'll try to have another look later today.
Sylvain Corlay
@SylvainCorlay
Aug 07 2015 17:54
thanks
Sylvain Corlay
@SylvainCorlay
Aug 07 2015 19:42
This message was deleted
Sylvain Corlay
@SylvainCorlay
Aug 07 2015 20:20
Was it considered to have request/reply pattern for comm messages
currently, comms only reply on the iopub channel
Kyle Kelley
@rgbkrk
Aug 07 2015 20:27
hmm, I'm curious about that too @SylvainCorlay
Min RK
@minrk
Aug 07 2015 20:38
It was considered, but symmetry was chosen instead.
Since request-reply isn't possible from kernel to frontend, and a case for it from frotend to kernel was not made, and since request-reply can be effectively accomplished by expecting a message, there wasn't a reason to add extra messages.
Jason Grout
@jasongrout
Aug 07 2015 20:41
Sylvain brought up a good point that there already is the facility for providing callbacks for comm messages from the frontend to the kernel
so effectively you do have a reply/request work-around that is kind of kludgy
Sylvain Corlay
@SylvainCorlay
Aug 07 2015 20:42
the one thing that is not symmetric in the front-end/kernel relationship is that the front-end comms may be constructed at any point from the kernel state
Sylvain Corlay
@SylvainCorlay
Aug 07 2015 21:06
The current mechanism to request state for a widget is quite clumsy. I was just looking at how to make it better.
Jason Grout
@jasongrout
Aug 07 2015 21:25
Can we currently do a comm message with a shell callback? There's a reply notification, at least, even if you can't send data back.
Sylvain Corlay
@SylvainCorlay
Aug 07 2015 21:46
comm messages from the front-end are shell messages but there is no method to send content over shell in comm
Sylvain Corlay
@SylvainCorlay
Aug 07 2015 22:03
This message was deleted
Aaron Meurer
@asmeurer
Aug 07 2015 23:08
by the way is your old mail server down? Google is giving me dead links like http://mail.scipy.org/pipermail/ipython-user/2012-August/010996.html