[sage-devel] Re: Using new display hooks

2015-04-01 Thread Andrey Novoseltsev
On Wednesday, 1 April 2015 18:11:10 UTC-6, Volker Braun wrote: > > The IPython backend implementation is peculiar, you probably shouldn't > look at it for guidance. The reason is that IPython expects a callable that > returns a particular dictionary. In other words the displayhook doesn't > actu

[sage-devel] Re: Using new display hooks

2015-04-01 Thread Volker Braun
On Thursday, April 2, 2015 at 1:28:12 AM UTC+2, Andrey Novoseltsev wrote: > > 1) What exactly is the point of display_immediately and when is it > supposed to be called? The default displayhook calls display_immediately. > The IPython notebook conversely calls displayhook from display_immediately