Change: FTCS.ipynb | iteration size for widget
This commit is contained in:
parent
5e70b319c9
commit
45827c0402
@ -171,7 +171,7 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"records = []\n",
|
"records = []\n",
|
||||||
"\n",
|
"\n",
|
||||||
"for i in range(10):\n",
|
"for i in range(1000):\n",
|
||||||
" C_t = simulate(C_t)\n",
|
" C_t = simulate(C_t)\n",
|
||||||
" records.append(C_t)\n",
|
" records.append(C_t)\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -194,7 +194,7 @@
|
|||||||
" y = records[w]\n",
|
" y = records[w]\n",
|
||||||
" plt.imshow(y)\n",
|
" plt.imshow(y)\n",
|
||||||
" \n",
|
" \n",
|
||||||
"interact(update, w = IntSlider(min=0, max = 99, step = 1, value = 0))"
|
"interact(update, w = IntSlider(min=0, max = 999, step = 1, value = 0))"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user