Data for Colab / colorblind setting

This commit is contained in:
AleDinve
2024-10-28 11:58:47 +01:00
committed by Nicola Demo
parent 6ba98885e3
commit a5e326c927
21 changed files with 53 additions and 4 deletions

View File

@@ -35,6 +35,9 @@
"if IN_COLAB:\n",
" !pip install \"pina-mathlab\"\n",
" !pip install scipy\n",
" # get the data\n",
" !wget https://github.com/mathLab/PINA/blob/master/tutorials/tutorial5/Data_Darcy.mat\n",
"\n",
" \n",
"# !pip install scipy # install scipy\n",
"from scipy import io\n",
@@ -44,7 +47,8 @@
"from pina.solvers import SupervisedSolver\n",
"from pina.trainer import Trainer\n",
"from pina.problem import AbstractProblem\n",
"import matplotlib.pyplot as plt"
"import matplotlib.pyplot as plt\n",
"plt.style.use('tableau-colorblind10')"
]
},
{