diff --git a/scripts/plot_approximation_results.py b/scripts/plot_approximation_results.py index b94f46bfd55fdd4118efc82947ccb31b5ad0fb86..7a8ae21a596b2ae001de096dcc55ce02c215df7e 100644 --- a/scripts/plot_approximation_results.py +++ b/scripts/plot_approximation_results.py @@ -5,11 +5,14 @@ """ import sys import time +import seaborn as sns from tcd import Initial_Condition from tcd import Quadrature from tcd.Plotting import plot_approximation_results +sns.set() + def main() -> None: """Plot results of ANN model tests.""" diff --git a/scripts/plot_test_results.py b/scripts/plot_test_results.py index 53eb6d0e78b039a7e1ecd513f0c14a236bec2158..dfaeee9543446d2c6be229d7d31a238dc4cf270f 100644 --- a/scripts/plot_test_results.py +++ b/scripts/plot_test_results.py @@ -4,9 +4,12 @@ @author: Laura C. Kühle """ import sys +import seaborn as sns from tcd.Plotting import plot_evaluation_results +sns.set() + def main() -> None: """Plot results of ANN model tests.""" diff --git a/scripts/tcd/DG_Approximation.py b/scripts/tcd/DG_Approximation.py index a374ab4bc961c25340f08eb030bade2daafd4b51..0b64d9d6031ab66ecd6a707d0cbac6b025d40f87 100644 --- a/scripts/tcd/DG_Approximation.py +++ b/scripts/tcd/DG_Approximation.py @@ -7,7 +7,6 @@ import json import numpy as np from sympy import Symbol import math -import seaborn as sns from .Basis_Function import Basis from .encoding_utils import encode_ndarray @@ -18,7 +17,6 @@ from .Troubled_Cell_Detector import TroubledCellDetector from .Update_Scheme import UpdateScheme x = Symbol('x') -sns.set() class DGScheme: