diff --git a/docs/source/customizing.ipynb b/docs/source/customizing.ipynb index 38ab9188f..da35584a8 100644 --- a/docs/source/customizing.ipynb +++ b/docs/source/customizing.ipynb @@ -25,7 +25,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 1, "metadata": {}, "outputs": [ { @@ -54,17 +54,18 @@ "\n", "# In[1]:\n", "\n", + "\n", "print(\"This is a code cell that produces some output\")\n", "\n", "\n", "# ### Inline figures\n", "\n", - "# In[2]:\n", + "# In[1]:\n", "\n", - "get_ipython().magic('matplotlib inline')\n", "\n", "import matplotlib.pyplot as plt\n", "import numpy as np\n", + "plt.ion()\n", "\n", "x = np.linspace(0, 2 * np.pi, 100)\n", "y = np.sin(x)\n", @@ -88,7 +89,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 2, "metadata": {}, "outputs": [ { @@ -101,15 +102,16 @@ "\n", "# In[1]:\n", "\n", + "\n", "print(\"This is a code cell that produces some output\")\n", "\n", "\n", - "# In[2]:\n", + "# In[1]:\n", "\n", - "get_ipython().magic('matplotlib inline')\n", "\n", "import matplotlib.pyplot as plt\n", "import numpy as np\n", + "plt.ion()\n", "\n", "x = np.linspace(0, 2 * np.pi, 100)\n", "y = np.sin(x)\n", @@ -135,7 +137,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -170,7 +172,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -187,12 +189,11 @@ "print(\"This is a code cell that produces some output\")\n", "\n", "\n", - "# [2]:\n", - "\n", - "get_ipython().magic('matplotlib inline')\n", + "# [1]:\n", "\n", "import matplotlib.pyplot as plt\n", "import numpy as np\n", + "plt.ion()\n", "\n", "x = np.linspace(0, 2 * np.pi, 100)\n", "y = np.sin(x)\n", @@ -220,7 +221,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -408,14 +409,14 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 6, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Writing mytemplate.tpl\n" + "Overwriting mytemplate.tpl\n" ] } ], @@ -451,7 +452,7 @@ }, { "cell_type": "code", - "execution_count": 48, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -12184,9 +12185,7 @@ "div#notebook {\n", " overflow: visible;\n", " border-top: none;\n", - "}\n", - "\n", - "@media print {\n", + "}@media print {\n", " div.cell {\n", " display: block;\n", " page-break-inside: avoid;\n", @@ -12207,7 +12206,7 @@ "\n", "\n", "\n", - " \n", + " \n", " \n", "