[IPython-dev] rant: "%matplotlib inline"

Matthias Bussonnier bussonniermatthias at gmail.com
Mon Jul 6 11:35:11 EDT 2015


> On Jul 6, 2015, at 10:28, Shead, Timothy <tshead at sandia.gov> wrote:
> 
> At the risk of being self-serving, Toyplot (http://toyplot.readthedocs.org) is a plotting library for Python that Just Works when imported into a notebook.  The code to detect the notebook environment was trivial to write, and could easily be adapted to (ahem) legacy libraries.

I’m curious to know how you detect you are in a notebook in a reliable manner. 
-- 
M




More information about the IPython-dev mailing list