Skip to content
Snippets Groups Projects
Commit d4a2912c authored by Laura Christine Kühle's avatar Laura Christine Kühle
Browse files

Extracted seaborn initialization from DGScheme.

parent 59096e0f
No related branches found
No related tags found
No related merge requests found
...@@ -5,11 +5,14 @@ ...@@ -5,11 +5,14 @@
""" """
import sys import sys
import time import time
import seaborn as sns
from tcd import Initial_Condition from tcd import Initial_Condition
from tcd import Quadrature from tcd import Quadrature
from tcd.Plotting import plot_approximation_results from tcd.Plotting import plot_approximation_results
sns.set()
def main() -> None: def main() -> None:
"""Plot results of ANN model tests.""" """Plot results of ANN model tests."""
......
...@@ -4,9 +4,12 @@ ...@@ -4,9 +4,12 @@
@author: Laura C. Kühle @author: Laura C. Kühle
""" """
import sys import sys
import seaborn as sns
from tcd.Plotting import plot_evaluation_results from tcd.Plotting import plot_evaluation_results
sns.set()
def main() -> None: def main() -> None:
"""Plot results of ANN model tests.""" """Plot results of ANN model tests."""
......
...@@ -7,7 +7,6 @@ import json ...@@ -7,7 +7,6 @@ import json
import numpy as np import numpy as np
from sympy import Symbol from sympy import Symbol
import math import math
import seaborn as sns
from .Basis_Function import Basis from .Basis_Function import Basis
from .encoding_utils import encode_ndarray from .encoding_utils import encode_ndarray
...@@ -18,7 +17,6 @@ from .Troubled_Cell_Detector import TroubledCellDetector ...@@ -18,7 +17,6 @@ from .Troubled_Cell_Detector import TroubledCellDetector
from .Update_Scheme import UpdateScheme from .Update_Scheme import UpdateScheme
x = Symbol('x') x = Symbol('x')
sns.set()
class DGScheme: class DGScheme:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment