Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c314d4

Browse files
committed
Refactor performance plot notebook
1 parent 3506a6c commit 0c314d4

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

notebooks/03_performance_plot.ipynb

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
},
3232
"outputs": [],
3333
"source": [
34+
"import numpy\n",
35+
"import perfplot\n",
3436
"from ing_theme_matplotlib import mpl_style"
3537
]
3638
},
@@ -188,9 +190,6 @@
188190
}
189191
],
190192
"source": [
191-
"import numpy\n",
192-
"import perfplot\n",
193-
"\n",
194193
"perfplot.show(\n",
195194
" setup=lambda n: numpy.random.rand(n), # or simply setup=numpy.random.rand\n",
196195
" kernels=[\n",
@@ -205,13 +204,6 @@
205204
" xlabel=\"len(a)\",\n",
206205
")"
207206
]
208-
},
209-
{
210-
"cell_type": "code",
211-
"execution_count": null,
212-
"metadata": {},
213-
"outputs": [],
214-
"source": []
215207
}
216208
],
217209
"metadata": {
@@ -230,7 +222,7 @@
230222
"name": "python",
231223
"nbconvert_exporter": "python",
232224
"pygments_lexer": "ipython3",
233-
"version": "3.7.7"
225+
"version": "3.8.5"
234226
}
235227
},
236228
"nbformat": 4,

0 commit comments

Comments
 (0)