export tutorials changed in dd88513 (#559)
Co-authored-by: dario-coscia <dario-coscia@users.noreply.github.com>
This commit is contained in:
committed by
Dario Coscia
parent
228f807d92
commit
d10c525e74
4
tutorials/tutorial1/tutorial.ipynb
vendored
4
tutorials/tutorial1/tutorial.ipynb
vendored
@@ -218,7 +218,7 @@
|
||||
" problem.input_pts[location].extract(problem.spatial_variables).flatten()\n",
|
||||
" )\n",
|
||||
" plt.scatter(coords, torch.zeros_like(coords), s=10, label=location)\n",
|
||||
"_=plt.legend()"
|
||||
"_ = plt.legend()"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -421,7 +421,7 @@
|
||||
"fig, ax = plt.subplots(nrows=1, ncols=1)\n",
|
||||
"ax.plot(pts.extract([\"x\"]), predicted_output, label=\"Neural Network solution\")\n",
|
||||
"ax.plot(pts.extract([\"x\"]), true_output, label=\"True solution\")\n",
|
||||
"_=plt.legend()"
|
||||
"_ = plt.legend()"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user