Commit eb5fbff7 authored by Steve Tjoa's avatar Steve Tjoa

matplotlib inline

parent c5554c7b
......@@ -187,6 +187,7 @@ div#notebook {
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-ipython2"><pre><span class="kn">import</span> <span class="nn">numpy</span><span class="o">,</span> <span class="nn">scipy</span><span class="o">,</span> <span class="nn">matplotlib.pyplot</span> <span class="kn">as</span> <span class="nn">plt</span><span class="o">,</span> <span class="nn">sklearn</span><span class="o">,</span> <span class="nn">IPython.display</span><span class="o">,</span> <span class="nn">librosa</span><span class="o">,</span> <span class="nn">urllib</span>
<span class="o">%</span><span class="k">matplotlib</span> inline
<span class="n">plt</span><span class="o">.</span><span class="n">rcParams</span><span class="p">[</span><span class="s">&#39;figure.figsize&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="p">(</span><span class="mi">14</span><span class="p">,</span><span class="mi">4</span><span class="p">)</span>
</pre></div>
......@@ -9,6 +9,7 @@
"outputs": [],
"source": [
"import numpy, scipy, matplotlib.pyplot as plt, sklearn, IPython.display, librosa, urllib\n",
"%matplotlib inline\n",
"plt.rcParams['figure.figsize'] = (14,4)"
]
},
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment