Commit f5643719 authored by Tomas Krizek's avatar Tomas Krizek

respdiff: silence matplotlib logging

parent da204c32
...@@ -65,6 +65,9 @@ def load_summaries( ...@@ -65,6 +65,9 @@ def load_summaries(
def setup_logging(level: int = LOGGING_LEVEL) -> None: def setup_logging(level: int = LOGGING_LEVEL) -> None:
logging.basicConfig(format='%(asctime)s %(levelname)8s %(message)s', level=level) logging.basicConfig(format='%(asctime)s %(levelname)8s %(message)s', level=level)
logger = logging.getLogger('matplotlib')
# set WARNING for Matplotlib
logger.setLevel(logging.WARNING)
def add_arg_config(parser: ArgumentParser) -> None: def add_arg_config(parser: ArgumentParser) -> None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment