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

@@ -44,6 +44,7 @@
"\n",
"import torch \n",
"import matplotlib.pyplot as plt \n",
"plt.style.use('tableau-colorblind10')\n",
"from pina.problem import AbstractProblem\n",
"from pina.solvers import SupervisedSolver\n",
"from pina.trainer import Trainer\n",

View File

@@ -9,7 +9,7 @@
# First of all we import the modules needed for the tutorial:
# In[1]:
# In[ ]:
## routine needed to run the notebook on Google Colab
@@ -23,6 +23,7 @@ if IN_COLAB:
import torch
import matplotlib.pyplot as plt
plt.style.use('tableau-colorblind10')
from pina.problem import AbstractProblem
from pina.solvers import SupervisedSolver
from pina.trainer import Trainer