From 30758926e1c2e4324cd3601f77f59781968febb1 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 27 Jun 2024 08:23:39 +0200 Subject: analyze-kconfig: only import plotter (→matplotlib) when needed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/cli.py b/lib/cli.py index 8baca9a..0daecb6 100644 --- a/lib/cli.py +++ b/lib/cli.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 import dfatool.functions as df -import dfatool.plotter import logging import numpy as np import os @@ -430,6 +429,8 @@ def export_json_unparam(model, filename): def boxplot_param(args, model): + import dfatool.plotter + title = None param_is_filtered = dict() if args.filter_param: -- cgit v1.2.3