matplotlib configuration for inline backend in jupyter notebook
<p>I'd like to learn how to configure the defaults for matplotlib using the inline backend in jupyter notebook. Specifically, I'd like to set default 'figure.figsize’ to [7.5, 5.0] instead of the default [6.0, 4.0]. I’m using jupyter notebook 1.1 on a Mac with matplotlib 1.4.3.</p>

<p>In the notebook, using the macosx backend, my matplotlibrc file is shown to be in the standard location, and figsize is set as specified in matplotlibrc:</p>

<pre><code>In [1]: %matplotlib
Using matplotlib backend: MacOSX

In [2]: mpl.matplotlib_fname()
Out[2]: u'/Users/scott/.matplotlib/matplotlibrc'

In [3]: matplotlib.rcParams['figure.figsize']
Out[3]:[7.5, 5.0]
</code></pre>

<p>However, when I use the inline backend, figsize is set differently:</p>

<pre><code>In [1]: %matplotlib inline

In [2]: mpl.matplotlib_fname()
Out[2]: u'/Users/scott/.matplotlib/matplotlibrc'

In [3]: matplotlib.rcParams['figure.figsize']
Out[3]:[6.0, 4.0]
</code></pre>

<p>In my notebook config file, ~/.jupyter/jupyter_notebook_config.py, I also added the line</p>

<pre><code>c.InlineBackend.rc = {'figure.figsize': (7.5, 5.0) }
</code></pre>

<p>but this had no effect either. For now I’m stuck adding this line in every notebook:</p>

<pre><code>matplotlib.rcParams['figure.figsize']=[7.5, 5.0]
</code></pre>

<p>Is there any way to set the default for the inline backend?</p>