[IPython-dev] rant: "%matplotlib inline"
Fernando Perez
fperez.net at gmail.com
Sat Jul 4 00:08:15 EDT 2015
On Fri, Jul 3, 2015 at 8:57 PM, Matthias Bussonnier <
bussonniermatthias at gmail.com> wrote:
> The things that start the kernel is a kernel manager, it is not especially
> aware of wether the notebook started it, or nbconvert,
> or hydrogen, or qtconsole ...
> It is not either especially aware of wether the kernel is python or julia,
> or R.
>
Well, that's why I figured this was a proposal, it might require adding a
message at kernel startup to record who was starting the kernel... I
haven't looked at that code in literally years, so I'm completely behind
the times on the details, sorry.
> The path forward is ti have fig object define a _repr_png_, the we don’t
> have to deal with %matpltlib inline
>
No, that wouldn't cover at all a case like the 'notebook' backend, that is
the preferred one for matplotlib, that allows panning/zooming (and
hopefully one day all MPL events in the notebook):
[image: Inline image 1]
Cheers,
f
--
Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150703/62b68cee/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 60506 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150703/62b68cee/attachment.png>
More information about the IPython-dev
mailing list