Jupyter & IPython: What does %matplotlib inline do?
<p>I'm curious that how jupyter notebook enables the plot inline.
I searched <code>%matplotlib inline</code> in github and didn't find the source code (<a href="https://github.com/search?l=python&amp;q=org%3Ajupyter+matplotlib+inline&amp;ref=searchresults&amp;type=Code&amp;utf8=%E2%9C%93" rel="noreferrer">https://github.com/search?l=python&amp;q=org%3Ajupyter+matplotlib+inline&amp;ref=searchresults&amp;type=Code&amp;utf8=%E2%9C%93</a>). </p>

<p>And it is not avaiable in the docs (<a href="http://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-matplotlib" rel="noreferrer">http://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-matplotlib</a>). </p>

<p>Could anyone tell me where can I see the source code of <code>%matplotlib inline</code>? </p>